[cvs-nhc98] Fix two bugs in hat-trail's help text when using a short t

Malcolm Wallace malcolm@sparud.net
Wed, 26 Feb 2003 17:59:34 +0100 (CET)


malcolm: Wed Feb 26 17:59:33 CET 2003

Update of /usr/src/master/nhc/src/hat/tools
In directory hinken:/tmp/cvs-serv22513

Modified Files:
	HatTrail.hs 
Log Message:
Fix two bugs in hat-trail's help text when using a short terminal window.
  * Invoking :h from the initial "output/error" selection panes, the help
    text scrolls over the upper panes, and the display is corrupted on return.
  * Invoking :h later, the help text scrolls out of view behind the upper
    panes, and there is no way of knowing (a) that it has done so, and (b)
    what the hidden text says.
The solution is to implement a simple 'more'-style viewer that adapts to
the exact height of the lower (trail) pane.