2
3
espelhamento de https://github.com/sammy-ette/Hilbish sincronizado 2025-08-10 02:52:03 +00:00

fix: delete key on st

Esse commit está contido em:
Renzix 2022-03-29 20:30:13 -04:00
commit 23d44ef11c
2 arquivos alterados com 3 adições e 1 exclusões

Ver arquivo

@ -48,6 +48,7 @@ var (
seqEnd = string([]byte{27, 91, 70})
seqEndSc = string([]byte{27, 91, 52, 126})
seqDelete = string([]byte{27, 91, 51, 126})
seqDelete2 = string([]byte{27, 91, 80})
seqShiftTab = string([]byte{27, 91, 90})
seqAltQuote = string([]byte{27, 34}) // Added for showing registers ^["
seqAltR = string([]byte{27, 114}) // Used for alternative history

Ver arquivo

@ -712,12 +712,13 @@ func (rl *Instance) escapeSeq(r []rune) {
rl.updateHelpers()
return
case seqDelete:
case seqDelete,seqDelete2:
if rl.modeTabFind {
rl.backspaceTabFind()
} else {
rl.deleteBackspace(true)
}
case seqHome, seqHomeSc:
if rl.modeTabCompletion {
return