mirror of https://github.com/fairyglade/ly.git
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:
|
case TB_KEY_CTRL_C:
|
||||||
run = false;
|
run = false;
|
||||||
break;
|
break;
|
||||||
|
case TB_KEY_CTRL_U:
|
||||||
|
if (active_input > 0)
|
||||||
|
{
|
||||||
|
input_text_clear(input_structs[active_input]);
|
||||||
|
}
|
||||||
|
break;
|
||||||
case TB_KEY_ARROW_UP:
|
case TB_KEY_ARROW_UP:
|
||||||
if (active_input > 0)
|
if (active_input > 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue