summaryrefslogtreecommitdiff
path: root/dw/fltkui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dw/fltkui.cc')
-rw-r--r--dw/fltkui.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/dw/fltkui.cc b/dw/fltkui.cc
index 4c3415c7..a43edf15 100644
--- a/dw/fltkui.cc
+++ b/dw/fltkui.cc
@@ -70,6 +70,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.
+ return 0;
}
}
return Fl_Input::handle(e);