mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-28 17:23:09 +03:00
Fix delete-to-line-end.
This commit is contained in:
parent
262555099d
commit
18444f261a
@ -2050,7 +2050,7 @@ bool textarea_keypress(struct textarea *ta, uint32_t key)
|
||||
b_len = ta->lines[line].b_length;
|
||||
l_len = utf8_bounded_length(
|
||||
&(ta->text.data[b_off]),
|
||||
b_len);
|
||||
b_len) - ta->caret_pos.char_off;
|
||||
if (!textarea_replace_text(ta, caret,
|
||||
caret + l_len, "", 0, false))
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user