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:
parent
328b8ad354
commit
0e7ddfea08
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user