fixed home/end keys in ssh sessions

上级 5e771534
...@@ -48,10 +48,10 @@ export class SSHTabComponent extends BaseTerminalTabComponent { ...@@ -48,10 +48,10 @@ export class SSHTabComponent extends BaseTerminalTabComponent {
} }
switch (hotkey) { switch (hotkey) {
case 'home': case 'home':
this.sendInput('\x1b[H' ) this.sendInput('\x1bOH' )
break break
case 'end': case 'end':
this.sendInput('\x1b[F' ) this.sendInput('\x1bOF' )
break break
case 'restart-ssh-session': case 'restart-ssh-session':
this.reconnect() this.reconnect()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册