Dsh Win Terminal Inspector
clearkurt/dsh-win-terminal-inspector · devops
Windows (win32) terminal check for DSH persistence/PTY shell.
★ 9GitHub stars
0Forks
2026-09-02Last updated
JavaScriptLanguage
MITLicense
Key features
- Wrap the runtime spawnTerminal to create independent inspectors for each terminal
- Delete the win-terminal-inspector entry from cordis.patch.yml (hot reloading takes effect), or delete the entire plugins directory and restart dsh web
- Attach the generated node-pty terminal to the inspector, which is used to send real Ctrl-C through ConPTY input (write \x03, which is equivalent to the real console keystroke and has been verified to correctly interrupt Git Bash front-end commands)
- The original spawnTerminal is restored when the plug-in is uninstalled (dispose), which is completely reversible.
- The plug-in does not modify any official package files, and deleting them will completely restore them.
Requirements
- Windows does not have POSIX process group/session, foregroundPgid uses shell pid as the whole tree group id
- isStdinWaiting is always false (readiness determination takes the prompt path, consistent with macOS)
Install command
dsh plugin --profile web add github:clearkurt/dsh-win-terminal-inspector