Skip to content

Commit

Permalink
suspend shortcut handling during numeric character input
Browse files Browse the repository at this point in the history
  • Loading branch information
mintty committed Mar 12, 2022
1 parent bf053ff commit e4efc8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/wininput.c
Original file line number Diff line number Diff line change
Expand Up @@ -2524,7 +2524,7 @@ static LONG last_key_time = 0;

bool allow_shortcut = true;

if (!term.shortcut_override) {
if (!term.shortcut_override && old_alt_state <= ALT_ALONE) {
// user-defined shortcuts
//test: W("-:'foo';A+F3:;A+F5:flipscreen;A+F9:\"f9\";C+F10:\"f10\";p:paste;d:`date`;o:\"oo\";ö:\"öö\";€:\"euro\";~:'tilde';[:'[[';µ:'µµ'")
if (*cfg.key_commands) {
Expand Down
1 change: 1 addition & 0 deletions wiki/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Terminal features
Keyboard handling
* Support user-defined mappings for Super-/Hyper-modified character keys.
* Support optional user-defined mappings for Control-/Alt-modified character keys (#399, #252, #523, #602, #645, ~#524, ~#817, ~#451).
* Suspend shortcut handling during numeric character input.

Font rendering
* Fixed auto-widening of ambiguous-width letters (broken since 3.4.4).
Expand Down

0 comments on commit e4efc8f

Please sign in to comment.