From 7cde9010477aeaf8e1850e5aacd2d132e6476964 Mon Sep 17 00:00:00 2001 From: David Capello Date: Tue, 12 May 2020 15:11:15 -0300 Subject: [PATCH] Alt+backspace deletes a word too on ui::Entry fields --- src/ui/entry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/entry.cpp b/src/ui/entry.cpp index c2513444b..239c347b9 100644 --- a/src/ui/entry.cpp +++ b/src/ui/entry.cpp @@ -320,7 +320,7 @@ bool Entry::onProcessMessage(Message* msg) break; case kKeyBackspace: - if (msg->ctrlPressed()) + if (msg->ctrlPressed() || msg->altPressed()) cmd = EntryCmd::DeleteBackwardWord; else cmd = EntryCmd::DeleteBackward;