From 5869f391c1fa39a9a9826ee16e11e15c4f10200a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Mon, 5 Sep 2016 16:32:41 +0200 Subject: support ctrl+a for selecting all --- src/FbTk/TextBox.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/FbTk/TextBox.cc b/src/FbTk/TextBox.cc index bf46ae3..9cddd7f 100644 --- a/src/FbTk/TextBox.cc +++ b/src/FbTk/TextBox.cc @@ -366,7 +366,12 @@ void TextBox::keyPressEvent(XKeyEvent &event) { adjustPos(); } break; + case 'a': + selectAll(); + break; } + clear(); + return; } else { // no state -- cgit v0.11.2