summaryrefslogtreecommitdiff
path: root/src/perl/textui
diff options
context:
space:
mode:
authorJari Matilainen <jari.matilainen@istone.se>2018-01-09 23:15:08 +0100
committerJari Matilainen <jari.matilainen@istone.se>2018-01-09 23:15:08 +0100
commitf2e73a7046358ed948b14180c70bab5dba5364cc (patch)
treeba395205c9b1ef08a54e02655398c4dfca795dab /src/perl/textui
parentd4bd0d02fb7ea076e9431123445d76638c7b76ad (diff)
downloadirssi-f2e73a7046358ed948b14180c70bab5dba5364cc.zip
Add perl access to hidden_level in TEXT_BUFFER_VIEW_REC
Diffstat (limited to 'src/perl/textui')
-rw-r--r--src/perl/textui/TextUI.xs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/perl/textui/TextUI.xs b/src/perl/textui/TextUI.xs
index 5d2c8a7f..ff94ad5f 100644
--- a/src/perl/textui/TextUI.xs
+++ b/src/perl/textui/TextUI.xs
@@ -40,6 +40,7 @@ static void perl_text_buffer_view_fill_hash(HV *hv, TEXT_BUFFER_VIEW_REC *view)
(void) hv_store(hv, "startline", 9, plain_bless(view->startline, "Irssi::TextUI::Line"), 0);
(void) hv_store(hv, "subline", 7, newSViv(view->subline), 0);
+ (void) hv_store(hv, "hidden_level", 12, newSViv(view->hidden_level), 0);
(void) hv_store(hv, "bottom_startline", 16, plain_bless(view->bottom_startline, "Irssi::TextUI::Line"), 0);
(void) hv_store(hv, "bottom_subline", 14, newSViv(view->bottom_subline), 0);