1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Fix for issue #235, check for KEY_CODE_YES

This commit is contained in:
James Booth 2013-09-04 22:07:28 +01:00
parent 328b8ad354
commit 0e7ddfea08

View File

@ -250,6 +250,9 @@ _clear_input(void)
static int
_handle_edit(int result, const wint_t ch, char *input, int *size)
{
if (result != KEY_CODE_YES) {
return 0;
}
char *prev = NULL;
char *next = NULL;
int inp_x = 0;