CVSROOT: /cvs Module name: src Changes by: n...@cvs.openbsd.org 2009/10/21 03:36:53
Modified files: usr.bin/tmux : tty.c Log message: Some terminals don't correctly clear their let's-wrap flag after changing the scroll region (which moves the cursor to 0,0). This means that if the cursor was at the edge of the screen, any further output after scroll region change incorrectly causes a line wrap. Add a workaround to move the cursor to position 0 if it is at the screen edge before changing scroll region.