mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05: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:
|
||||
* recode from the terminal charset to UCS-4. */
|
||||
|
||||
key = cp2u(get_opt_codepage_tree(term->spec,
|
||||
"charset"),
|
||||
key);
|
||||
key = cp2u(get_terminal_codepage(term), key);
|
||||
term_send_ucs(term, key, modifier);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user