Removed ch from main loop

This commit is contained in:
James Booth
2015-01-15 01:21:24 +00:00
parent 3b69ad7b61
commit aec1484806
4 changed files with 12 additions and 11 deletions

View File

@@ -174,7 +174,7 @@ ui_close(void)
endwin();
}
wint_t
gboolean
ui_get_char(char *input, int *size)
{
int result = 0;
@@ -193,7 +193,7 @@ ui_get_char(char *input, int *size)
ui_input_nonblocking(FALSE);
}
return ch;
return (ch != '\n');
}
void