aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-11-24 18:32:52 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-11-24 18:32:52 +0000
commitb9034946adeb2ed03a1266431a27e2a24498c350 (patch)
tree0a04d9954a7361408da80d901d7c2c500903fee1 /tmux.h
parent112f4d9f607f31d52bc63321f3bd7fdfcb0ced6d (diff)
downloadrtmux-b9034946adeb2ed03a1266431a27e2a24498c350.tar.gz
rtmux-b9034946adeb2ed03a1266431a27e2a24498c350.tar.bz2
rtmux-b9034946adeb2ed03a1266431a27e2a24498c350.zip
Reset before calling window_draw otherwise it'll have the wrong idea of the current state (since it copies from screen).
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/tmux.h b/tmux.h
index f37d5414..182a19e1 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.98 2007-11-23 17:52:54 nicm Exp $ */
+/* $Id: tmux.h,v 1.99 2007-11-24 18:32:52 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -374,8 +374,8 @@ struct screen {
u_int saved_cx;
u_int saved_cy;
- u_int saved_attr;
- u_int saved_colr;
+ u_char saved_attr;
+ u_char saved_colr;
int mode;
};
@@ -402,8 +402,8 @@ struct screen_draw_ctx {
u_int ox;
u_int oy;
- u_int attr;
- u_int colr;
+ u_char attr;
+ u_char colr;
struct screen_draw_sel sel;
};