# HG changeset patch # User Jan Vrany # Date 1561331064 0 # Node ID 5182891c9a14211ccf354285e4b22d853a38285d # Parent bc60050be743a383829fc631079bda2bbc849390 Fix slip `TerminalView >> innerHeight` Check for existence of the scrollbar - it may not exist if terminal is big enough to accomodate all the text. diff -r bc60050be743 -r 5182891c9a14 TerminalView.st --- a/TerminalView.st Fri Jun 14 12:46:37 2019 +0100 +++ b/TerminalView.st Sun Jun 23 23:04:24 2019 +0000 @@ -548,12 +548,13 @@ "/ sure that last line is always fully visible, otherwise "/ user may not actually see what is she typing. innerHeight := super innerHeight. - (superView notNil and:[superView isScrollWrapper ]) ifTrue:[ + (superView notNil and:[superView isScrollWrapper and:[superView horizontalScrollBar notNil]]) ifTrue:[ innerHeight := innerHeight - superView horizontalScrollBar height. ]. ^ innerHeight "Created: / 29-07-2018 / 21:08:39 / Jan Vrany " + "Modified: / 19-06-2019 / 10:39:47 / Jan Vrany " ! lineBufferHistory