fixed home/end keys in ssh sessions

This commit is contained in:
Eugene Pankov 2021-07-12 22:23:46 +02:00
parent 5e771534a8
commit 3be98e6244
No known key found for this signature in database
GPG key ID: 5896FCBBDD1CF4F4

View file

@ -48,10 +48,10 @@ export class SSHTabComponent extends BaseTerminalTabComponent {
}
switch (hotkey) {
case 'home':
this.sendInput('\x1b[H' )
this.sendInput('\x1bOH' )
break
case 'end':
this.sendInput('\x1b[F' )
this.sendInput('\x1bOF' )
break
case 'restart-ssh-session':
this.reconnect()