mirror of
https://github.com/fairyglade/ly
synced 2024-11-16 00:12:58 +00:00
Ignore keystrokes that are not associated with a keysym (#45)
The system maps these to a keysym with value 0, causing ly to terminate. With this fix it shouldn't happen anymore Fixes #21
This commit is contained in:
parent
b5354dc260
commit
244f072d11
@ -91,7 +91,7 @@ int main(void)
|
||||
set_current_field(form.form, form.fields[6]);
|
||||
form_driver(form.form, REQ_END_LINE);
|
||||
|
||||
while((input_key = wgetch(win.win)))
|
||||
while((input_key = wgetch(win.win)) != ERR)
|
||||
{
|
||||
form.active = current_field(form.form);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user