mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
The missing code, I suppose. Fixed moving right in textareas in UTF-8 mode.
First move was by two cells.
This commit is contained in:
parent
58b158871c
commit
4263af97a9
@ -1328,6 +1328,10 @@ field_op(struct session *ses, struct document_view *doc_view,
|
||||
break;
|
||||
case ACT_EDIT_RIGHT:
|
||||
#ifdef CONFIG_UTF_8
|
||||
if (fc->type == FC_TEXTAREA) {
|
||||
status = textarea_op_right(fs, fc, utf8);
|
||||
break;
|
||||
}
|
||||
if (utf8) {
|
||||
unsigned char *text = fs->value + fs->state;
|
||||
unsigned char *end = strchr(text, '\0');
|
||||
|
Loading…
x
Reference in New Issue
Block a user