diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-12-02 18:23:10 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-12-02 18:23:10 +0000 |
commit | 8419e997893069e431572bdf51ece7e8356dc8e5 (patch) | |
tree | 68a6ba4beb1cf74a2233481756b3fd8c715bc7b7 /tmux.h | |
parent | ba56989d0f856f4c3a5f1c23bde8bd0c2e62e3f2 (diff) | |
download | rtmux-8419e997893069e431572bdf51ece7e8356dc8e5.tar.gz rtmux-8419e997893069e431572bdf51ece7e8356dc8e5.tar.bz2 rtmux-8419e997893069e431572bdf51ece7e8356dc8e5.zip |
The tty code already stores attributes and doesn't modify them if unaltered, so the screen drawing code doesn't need to do so too. This probably also fixes bugs when switching screens where the actual tty attributes may not have been what the draw code (erroneously) expected.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.107 2007-11-30 11:08:35 nicm Exp $ */ +/* $Id: tmux.h,v 1.108 2007-12-02 18:23:10 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -406,9 +406,6 @@ struct screen_draw_ctx { u_int ox; u_int oy; - u_char attr; - u_char colr; - struct screen_draw_sel sel; }; |