aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/FbTk/TextBox.cc5
1 files changed, 5 insertions, 0 deletions
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) {
366 adjustPos(); 366 adjustPos();
367 } 367 }
368 break; 368 break;
369 case 'a':
370 selectAll();
371 break;
369 } 372 }
373 clear();
374 return;
370 375
371 } else { // no state 376 } else { // no state
372 377