mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
Fix for issue #235, check for KEY_CODE_YES
This commit is contained in:
parent
343cc0a64c
commit
cbdb426343
@ -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