mirror of https://github.com/fairyglade/ly.git
Make Ctrl+Backspace clear input text.
This commit is contained in:
parent
4ee2b3ecc7
commit
202620ef2a
|
|
@ -280,6 +280,7 @@ 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_H: // equivalent to ctrl+backspace
|
||||||
case TB_KEY_CTRL_U:
|
case TB_KEY_CTRL_U:
|
||||||
if (active_input > 0)
|
if (active_input > 0)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue