mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
fix(terminal): prevent infinite reconnect loop on Windows hosts (#336)
This commit is contained in:
@@ -97,7 +97,7 @@ export class TerminalManager {
|
||||
|
||||
create(terminalId: string, cols: number, rows: number): void {
|
||||
if (process.platform === 'win32') {
|
||||
this.emitError(terminalId, 'Terminal is not supported on Windows.')
|
||||
this.emitError(terminalId, 'Remote terminal is not supported on Windows yet.')
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user