summaryrefslogtreecommitdiff
path: root/src/perl/ui
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-12-20 13:29:20 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-12-20 13:29:20 +0000
commit9ddebe6bcf87f8a946f636687975beec80ec8081 (patch)
tree8ae8ee9ed523a0dab37df903539d8ff5bba81c92 /src/perl/ui
parent9ed228551b3754456717e6665c28fef70fd4c506 (diff)
downloadirssi-9ddebe6bcf87f8a946f636687975beec80ec8081.zip
Added command history groups, set them with /WINDOW HISTORY. Patch by peder@ifi.uio.no
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2276 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl/ui')
-rw-r--r--src/perl/ui/UI.xs1
-rw-r--r--src/perl/ui/Window.xs5
2 files changed, 6 insertions, 0 deletions
diff --git a/src/perl/ui/UI.xs b/src/perl/ui/UI.xs
index 2b55e8cb..83c2a366 100644
--- a/src/perl/ui/UI.xs
+++ b/src/perl/ui/UI.xs
@@ -23,6 +23,7 @@ static void perl_window_fill_hash(HV *hv, WINDOW_REC *window)
{
hv_store(hv, "refnum", 6, newSViv(window->refnum), 0);
hv_store(hv, "name", 4, new_pv(window->name), 0);
+ hv_store(hv, "history_name", 12, new_pv(window->history_name), 0);
hv_store(hv, "width", 5, newSViv(window->width), 0);
hv_store(hv, "height", 6, newSViv(window->height), 0);
diff --git a/src/perl/ui/Window.xs b/src/perl/ui/Window.xs
index b4ab69a8..d6183789 100644
--- a/src/perl/ui/Window.xs
+++ b/src/perl/ui/Window.xs
@@ -206,6 +206,11 @@ window_set_name(window, name)
char *name
void
+window_set_history(window, name)
+ Irssi::UI::Window window
+ char *name
+
+void
window_set_level(window, level)
Irssi::UI::Window window
int level