A simple fix of the bad wrapping bugs
authorJonas Fonseca <fonseca@diku.dk>
Fri, 15 Sep 2006 23:40:10 +0000 (01:40 +0200)
committerJonas Fonseca <fonseca@antimatter.localdomain>
Fri, 15 Sep 2006 23:43:08 +0000 (01:43 +0200)
commit4887d44e87f6ab759e32d30511d78e3f99d0fbcc
treea6210c059ee32f66f2ca99f3f174e7e2f626af51
parent2bee3bdeb5fef5d8f64ac047dbcc0c9f27ea26f1
A simple fix of the bad wrapping bugs

This was surprisingly simple to fix by just turning off scrolling in
draw_view_line. From the BUGS file:

 - If the screen width is very small the main view can draw outside the
   current view causing bad wrapping. Same goes for title and status
   windows.

 - The cursor can wrap-around on the last line and cause the window to
   scroll.
BUGS
tig.c