mirror of https://github.com/Hilbis/Hilbish
fix: make ctrl delete work on st
parent
d3e043ac07
commit
deeebf155b
|
@ -50,6 +50,7 @@ var (
|
|||
seqDelete = string([]byte{27, 91, 51, 126})
|
||||
seqDelete2 = string([]byte{27, 91, 80})
|
||||
seqCtrlDelete = string([]byte{27, 91, 51, 59, 53, 126})
|
||||
seqCtrlDelete2 = string([]byte{27, 91, 77})
|
||||
seqShiftTab = string([]byte{27, 91, 90})
|
||||
seqAltQuote = string([]byte{27, 34}) // Added for showing registers ^["
|
||||
seqAltR = string([]byte{27, 114}) // Used for alternative history
|
||||
|
|
|
@ -777,7 +777,7 @@ func (rl *Instance) escapeSeq(r []rune) {
|
|||
rl.viDeleteByAdjust(rl.viJumpB(tokeniseLine))
|
||||
rl.updateHelpers()
|
||||
|
||||
case seqCtrlDelete:
|
||||
case seqCtrlDelete, seqCtrlDelete2:
|
||||
if rl.modeTabCompletion {
|
||||
rl.resetVirtualComp(false)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue