mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-12-05 16:41:10 +01:00
feat(KeyHandler): respect modifiers with PgUp and PgDn
This commit is contained in:
parent
20dee0e940
commit
c8a74dc588
1 changed files with 2 additions and 2 deletions
|
|
@ -227,9 +227,9 @@ public final class KeyHandler {
|
|||
return transformForModifiers("\033[3", keyMode, '~');
|
||||
|
||||
case KEYCODE_PAGE_UP:
|
||||
return "\033[5~";
|
||||
return transformForModifiers("\033[5", keyMode, '~');
|
||||
case KEYCODE_PAGE_DOWN:
|
||||
return "\033[6~";
|
||||
return transformForModifiers("\033[6", keyMode, '~');
|
||||
case KEYCODE_DEL:
|
||||
String prefix = ((keyMode & KEYMOD_ALT) == 0) ? "" : "\033";
|
||||
// Just do what xterm and gnome-terminal does:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue