summaryrefslogtreecommitdiff
path: root/src/perl/textui
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2008-12-12 10:42:14 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2008-12-12 10:42:14 +0000
commit1b7296dc5fb2dfc5ebf4a9841f3e4aec320c5178 (patch)
tree0328a659f70df92e36ab8fdf1b9b4c00addfedb8 /src/perl/textui
parentfeb95100cee0adaa7a90ea9aaa93be32a90095e4 (diff)
downloadirssi-1b7296dc5fb2dfc5ebf4a9841f3e4aec320c5178.zip
Revert r4964, at least one script uses ypos.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4965 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl/textui')
-rw-r--r--src/perl/textui/TextUI.xs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/perl/textui/TextUI.xs b/src/perl/textui/TextUI.xs
index 6dbbc959..67c4c87b 100644
--- a/src/perl/textui/TextUI.xs
+++ b/src/perl/textui/TextUI.xs
@@ -35,6 +35,8 @@ static void perl_text_buffer_view_fill_hash(HV *hv, TEXT_BUFFER_VIEW_REC *view)
hv_store(hv, "longword_noindent", 17, newSViv(view->longword_noindent), 0);
hv_store(hv, "scroll", 6, newSViv(view->scroll), 0);
+ hv_store(hv, "ypos", 4, newSViv(view->ypos), 0);
+
hv_store(hv, "startline", 9, plain_bless(view->startline, "Irssi::TextUI::Line"), 0);
hv_store(hv, "subline", 7, newSViv(view->subline), 0);