1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-29 19:56:07 -04:00

Added correct Ctrl-U handling back

This commit is contained in:
James Booth 2015-01-01 22:44:21 +00:00
parent e7501e581c
commit ab75059703

View File

@ -558,8 +558,9 @@ _handle_edit(int result, const wint_t ch, char *input, int *size)
break;
case KEY_CTRL_U:
*size = 0;
inp_win_reset();
while (getcurx(inp_win) > 0) {
_delete_previous_word(input, size);
}
return 1;
break;