
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
hyper-serenade
Advanced tools
On Windows, you might want to change Hyper's configuration file to point to your shell with Edit > Preferences. The default configuration file will have examples in the comments above the shell
entry. For example, to use Git Bash as you shell, you can do:
shell: 'C:\\Program Files\\Git\\bin\\bash.exe'
ln -s <absolute path to this repository> ~/.hyper_plugins/local/hyper-serenade
to create a symlink.yarn
to get dependencies, then yarn watch
to build.localPlugins
:
localPlugins: [
"hyper-serenade"
],
command + option + I
to open Hyper's developer tools, which should show Plugin serenade-hyper (x.y.z) loaded.
along with any messages from the plugin.rm -rf ~/.hyper.js ~/.hyper_plugins/
to remove previously installed configuration and plugins.~\AppData\Roaming\Hyper\.hyper_plugins\local\hyper-serenade
. AppData
is a hidden folder.https://github.com/serenadeai/editor-shared
and replace the src/shared
symlink here with the contents of editor-shared/src
.yarn
to get dependencies, then yarn watch
to build.`rm -rf ~/AppData/Roaming/Hyper/
to remove previously installed configuration and plugins.package.json
.yarn
and yarn build
.npm publish
.A terminal (emulator) can be defined as a GUI program, like Terminal, iTerm, or Hyper, that provides access to input/output with the operating system.
In Unix, that access is accomplished via a tty, an interface provided by the operating system as a file (/dev/tty{s}*
in Linux and macOS, indicated by the tty
and who
commands.)
A shell is a program, like Bash or Zsh, "whose primary purpose is to start other programs" or enable more advanced scripting via commands, usually indicated by the echo $SHELL
command.
Source: What is the exact difference between a 'terminal', a 'shell', a 'tty' and a 'console'?
Since Hyper is written in TypeScript and its plugins are in TypeScript as well, this plugin is able to use a shared package as its foundation for IPC with the desktop client and dispatching commands.
In index.ts
, when a new Hyper tab is created, a new instance of the CommandHandler
class is created, along with the IPC needed. Hyper exposes access to the underlying xterm.js's Terminal
object, which actually handles inputs and outputs. So whenever a new Terminal
instance is detected, we attach our XtermController
to that instance.
CommandHandler
currently supports:
COMMAND_TYPE_GET_EDITOR_STATE
, which asks XtermController
for the source (command) and cursor position keymaps: {
// Example
// 'window:devtools': 'cmd+alt+o',
'editor:break': 'esc'
},
FAQs
Serenade for Hyper
We found that hyper-serenade demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.