mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-10 22:50:04 +00:00

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.
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 },
...
]
})