Added Irssi::current_theme() and Irssi::Theme::format_expand()

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1918 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-10-25 11:21:18 +00:00 committed by cras
commit be48bdc22c
2 changed files with 16 additions and 0 deletions

View file

@ -41,6 +41,7 @@ static void perl_window_fill_hash(HV *hv, WINDOW_REC *window)
hv_store(hv, "last_timestamp", 14, newSViv(window->last_timestamp), 0);
hv_store(hv, "last_line", 9, newSViv(window->last_line), 0);
hv_store(hv, "theme", 5, plain_bless(window->theme, "Irssi::UI::Theme"), 0);
hv_store(hv, "theme_name", 10, new_pv(window->theme_name), 0);
}