mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 12:53:42 +02:00
/SET term_type 8bit|utf8|big5 - Removed --with-big5 configure option, it's
now included the same way as utf8, though i'm not sure if it really works but at least it should partially :) Input line is now internally using 32bit chars but it's converted to 8bit chars for external use. Text buffer supports only 8bit + utf8 for now. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2448 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
612c061605
commit
afeb6fcb7d
14 changed files with 502 additions and 168 deletions
|
|
@ -347,8 +347,7 @@ static void item_input(SBAR_ITEM_REC *item, int get_size_only)
|
|||
rec = g_hash_table_lookup(input_entries, item->bar);
|
||||
if (rec == NULL) {
|
||||
rec = gui_entry_create(item->xpos, item->bar->real_ypos,
|
||||
item->size,
|
||||
settings_get_bool("term_utf8"));
|
||||
item->size, term_type == TERM_TYPE_UTF8);
|
||||
gui_entry_set_active(rec);
|
||||
g_hash_table_insert(input_entries, item->bar, rec);
|
||||
}
|
||||
|
|
@ -377,10 +376,8 @@ static void sig_statusbar_destroyed(STATUSBAR_REC *bar)
|
|||
|
||||
static void read_settings(void)
|
||||
{
|
||||
if (active_entry != NULL) {
|
||||
gui_entry_set_utf8(active_entry,
|
||||
settings_get_bool("term_utf8"));
|
||||
}
|
||||
if (active_entry != NULL)
|
||||
gui_entry_set_utf8(active_entry, term_type == TERM_TYPE_UTF8);
|
||||
}
|
||||
|
||||
void statusbar_items_init(void)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue