mirror of
https://codeberg.org/fairyglade/ly.git
synced 2026-08-17 11:09:13 +02:00
add ctrl-u input clearing
This commit is contained in:
parent
915ebd442f
commit
ce785ed0dc
1 changed files with 6 additions and 0 deletions
|
|
@ -216,6 +216,12 @@ int main(int argc, char** argv)
|
|||
case TB_KEY_CTRL_C:
|
||||
run = false;
|
||||
break;
|
||||
case TB_KEY_CTRL_U:
|
||||
if (active_input > 0)
|
||||
{
|
||||
input_text_clear(input_structs[active_input]);
|
||||
}
|
||||
break;
|
||||
case TB_KEY_ARROW_UP:
|
||||
if (active_input > 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue