mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-09 05:33:58 -04:00
input: add new Unicode input mode
This mode is activated through the new key-bindings.unicode-input and search-bindings.unicode-input key bindings. When active, the user can “build” a Unicode codepoint by typing its hexadecimal value. Note that there’s no visual feedback in this mode. This is intentional. This mode is intended to be a fallback for users that don’t use an IME. Closes #1116
This commit is contained in:
parent
fa2d9f8699
commit
8967dd9cfe
11 changed files with 167 additions and 2 deletions
|
|
@ -206,6 +206,12 @@ struct seat {
|
|||
uint32_t serial;
|
||||
} ime;
|
||||
#endif
|
||||
|
||||
struct {
|
||||
bool active;
|
||||
int count;
|
||||
char32_t character;
|
||||
} unicode_mode;
|
||||
};
|
||||
|
||||
enum csd_surface {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue