before ffb806d777cb0123d276f0c03463fa0fdda1a4ae, both Shift+Backspace
and Ctrl+Backspace acted as "erase previous character", but since then
Backspace does nothing if modified by Shift or Ctrl. I find that I often
try to backspace while still having Shift held down from a previous
character I typed, so make Shift+Backspace work as it did previously.
---
app.go | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/app.go b/app.go
index ea96281..87f8f6a 100644
--- a/app.go+++ b/app.go
@@ -747,6 +747,10 @@ func (app *App) handleKeyEvent(ev vaxis.Key) {
if app.win.InputBackspace() {
app.typing()
}
+ } else if keyMatches(ev, vaxis.KeyBackspace, vaxis.ModShift) {+ if app.win.InputBackspace() {+ app.typing()+ } } else if keyMatches(ev, vaxis.KeyDelete, 0) {
if app.win.InputDelete() {
app.typing()
--
2.45.2
--
Lauri Tirkkonen | lotheac @ IRCnet