mirror of
https://github.com/fairyglade/ly
synced 2024-11-16 00:12:58 +00:00
add ctrl-u input clearing
This commit is contained in:
parent
915ebd442f
commit
ce785ed0dc
@ -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…
Reference in New Issue
Block a user