commit | 8ec8d1f32ac29915ad1227fe60e264ee4d6a5577 | [log] [download] |
---|---|---|
author | Tiago Cunha <tcunha@gmx.com> | Fri Oct 23 17:22:39 2009 +0000 |
committer | Tiago Cunha <tcunha@gmx.com> | Fri Oct 23 17:22:39 2009 +0000 |
tree | fa5c120bad5b2f64cdf9df24728aee8c5990b75d | |
parent | 21b23f8e54fadd2aba369ef4f7ce0c8784168226 [diff] |
Sync OpenBSD patchset 426: 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.