mirror of
https://github.com/rkd77/elinks.git
synced 2025-06-30 22:19:29 -04:00
Use get_terminal_codepage in handle_interlink_event.
This should have been in an earlier commit but I somehow missed it. Related to bug 1064 but does not change visible behaviour yet.
This commit is contained in:
parent
e5722ad0d9
commit
30dbe6a2f8
@ -379,9 +379,7 @@ handle_interlink_event(struct terminal *term, struct interlink_event *ilev)
|
|||||||
/* Not special and UTF-8 mode is disabled:
|
/* Not special and UTF-8 mode is disabled:
|
||||||
* recode from the terminal charset to UCS-4. */
|
* recode from the terminal charset to UCS-4. */
|
||||||
|
|
||||||
key = cp2u(get_opt_codepage_tree(term->spec,
|
key = cp2u(get_terminal_codepage(term), key);
|
||||||
"charset"),
|
|
||||||
key);
|
|
||||||
term_send_ucs(term, key, modifier);
|
term_send_ucs(term, key, modifier);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user