aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dw/fltkui.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/dw/fltkui.cc b/dw/fltkui.cc
index 65c54f69..69473cb9 100644
--- a/dw/fltkui.cc
+++ b/dw/fltkui.cc
@@ -75,9 +75,10 @@ int CustInput2::handle(int e)
} else if (k == 'd') {
cut(position(), position()+1);
return 1;
- } else if (k == 'i' || k == 'j' || k == 'l' || k == 'm') {
- // Fl_Input wants to "insert a few selected control characters
- // literally", but this gets in the way of key commands.
+ } else if (k == 'h' || k == 'i' || k == 'j' || k == 'l' || k == 'm') {
+ // Fl_Input wants to use ^H as backspace, and also "insert a few
+ // selected control characters literally", but this gets in the way
+ // of key commands.
return 0;
}
}