feat: switch text to UTF-8; add Unicode key events, dead keys & Czech layout; fix numpad navigation; add NumLock support
This commit is contained in:
1 parent
32660ddd1a
commit
2aa6360b3d
101 files changed
+3733
-1639
No files matched your search
@@ -479,9 +479,9 @@ static void handle_key(const montauk::abi::KeyEvent& key) {
|
||||
step_font_size(FONT_SIZE_STEP);
|
||||
} else if (key.ascii == '-') {
|
||||
step_font_size(-FONT_SIZE_STEP);
|
||||
} else if (key.scancode == 0x48) { // Up
|
||||
} else if (montauk::nav_scancode(key) == 0x48) { // Up
|
||||
select_theme(g_panel.theme_index - 1);
|
||||
} else if (key.scancode == 0x50) { // Down
|
||||
} else if (montauk::nav_scancode(key) == 0x50) { // Down
|
||||
select_theme(g_panel.theme_index + 1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user