0.0.4 • Published 6 years ago

hyper-shift-select v0.0.4

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

hyper-shift-select

DO NOT USE THIS PLUGIN. Instead, upgrade to the latest version of Hyper 2.x. It fixes the issues this was intended to solve.

This plugin is unmaintained.


npm.io

Most terminals don't pass through mouse events while a certain modifier key is pressed. On OS X, that modifier is usually alt. On Linux, that modifier key is usually shift.

Hyper 2.x depends on xterm.js 2.9.2. Version 3 of xterm.js fixes some issues around this behavior, but those fixes likely won't get backported.

So instead, this plugin monkey-patches xterm.js's SelectionManager and hooks into the terminals event handlers to:

This plugin also fixes a bug where copying text from an application in alt-screen mode wouldn't copy from the correct buffer.

Important: Designed for Hyper 2.x


Install

Edit your ~/.hyper.js:

plugins: [
  'hyper-shift-select',
],