tabby/terminus-terminal
boxmein d7c8bc9da0 Catch errors when trying to derive CWD in Linux, fixes #1576
When the process it tries to read the working dir from has exited,
then "/proc/PID/cwd" is an invalid link and fs.readlink() will reject
its promise with an error.

This results in the terminal "new tab" and "new pane" buttons stopping
working, which is very disruptive :(

This commit makes sure that the "new tab" and "new pane" buttons keep
working, whatever happens.
2019-11-23 16:50:25 +02:00
..
src Catch errors when trying to derive CWD in Linux, fixes #1576 2019-11-23 16:50:25 +02:00
.gitignore wip 2017-04-11 02:22:48 +02:00
package.json Bump xterm-addon-search in /terminus-terminal 2019-10-31 18:34:41 +00:00
README.md autogen docs 2019-03-07 18:04:03 +01:00
tsconfig.json refactoring, build fix 2019-06-06 13:45:15 +02:00
tsconfig.typings.json copy as html if possible (fixes #503) 2019-06-06 20:53:14 +02:00
webpack.config.js better sourcemaps 2019-08-09 17:39:03 +02:00
yarn.lock Bump xterm-addon-search in /terminus-terminal 2019-10-31 18:34:41 +00:00

Terminus Terminal Plugin

  • terminal tabs
  • terminal frontends
  • session management
  • shell detection

Using the API:

import { TerminalContextMenuItemProvider } from 'terminus-terminal'

Exporting your subclasses:

@NgModule({
  ...
  providers: [
    ...
    { provide: TerminalContextMenuItemProvider, useClass: MyContextMenu, multi: true },
    ...
  ]
})