Fix RETURN and ENTER key management in TerminalView.
[GB.FORM.TERMINAL] * BUG: TerminalView: RETURN and ENTER key must send a NL character, not a CR.
This commit is contained in:
parent
c0a7a4aeaa
commit
33be66f655
1 changed files with 1 additions and 1 deletions
|
@ -670,7 +670,7 @@ Public Sub InputTo(hView As TerminalView, hScreen As TerminalScreen, hProcess As
|
|||
sText = If(hScreen.AppCursorKey, "\eOD", "\e[D")
|
||||
|
||||
Case Key.Enter, Key.Return
|
||||
sText = If(hScreen.NewlineMode, "\r\n", "\r")
|
||||
sText = If(hScreen.NewlineMode, "\r\n", "\n")
|
||||
|
||||
Case Key.Insert
|
||||
sText = "\e[2~"
|
||||
|
|
Loading…
Reference in a new issue