commit | 181e1bcffd1f728d0ec32f66b027507857daa598 | [log] [download] |
---|---|---|
author | Nicholas Marriott <nicm@openbsd.org> | Mon Aug 10 19:42:03 2009 +0000 |
committer | Nicholas Marriott <nicm@openbsd.org> | Mon Aug 10 19:42:03 2009 +0000 |
tree | 497818248c85a1bec195e608bdbc53246ca577cf | |
parent | fa64c1235e0870e2beea98d090c1a8bcb77588a0 [diff] |
Reset the attributes after drawing all or part of the screen, and reset the region before poll(2). This reduces (but does not eliminate) the chance of the attributes not being normal if tmux is disconnected without warning (ssh ~., reboot from inside, etc).