Discard hotkey keystroke for text buttons
This commit is contained in:
parent
2f066b1b25
commit
a806a332ce
@ -570,6 +570,11 @@ byte Readline_ex_unicode(word x_pos, word y_pos, char * str, word * str_unicode,
|
|||||||
Wait_end_of_click();
|
Wait_end_of_click();
|
||||||
Hide_cursor();
|
Hide_cursor();
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// discard hotkey used to activate the button
|
||||||
|
Get_input(0);
|
||||||
|
}
|
||||||
|
|
||||||
while ((input_key!=KEY_RETURN) && (input_key!=KEY_ESC))
|
while ((input_key!=KEY_RETURN) && (input_key!=KEY_ESC))
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user