1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -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:
Kalle Olavi Niemitalo 2009-01-01 22:59:11 +00:00 committed by Kalle Olavi Niemitalo
parent e5722ad0d9
commit 30dbe6a2f8

View File

@ -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;
}