summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLemonBoy <LemonBoy@users.noreply.github.com>2018-01-10 12:15:24 +0100
committerGitHub <noreply@github.com>2018-01-10 12:15:24 +0100
commitb3b68a4ae79c83b68f72dfe2b7f3c21ed5463c9e (patch)
tree62f47f9c21515d80985583b946c54ef398bccecc
parentd4bd0d02fb7ea076e9431123445d76638c7b76ad (diff)
parent4041f29711e5a6745175d0ae046e68e34f034bf4 (diff)
downloadirssi-b3b68a4ae79c83b68f72dfe2b7f3c21ed5463c9e.zip
Merge pull request #808 from vague666/perl_hidden_level
Add perl access to hidden_level in TEXT_BUFFER_VIEW_REC
-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..12732e3f 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);