aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-02-10 00:18:06 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-02-10 00:18:06 +0000
commitb37399304f9fa310d0790dee8a8325d79cc9af39 (patch)
tree789d0aa5aaa2ebc4999941f7470873d8aa333c01 /tmux.h
parentcc5a0ab0e427a47c4f5f95d6f6b257c7589f2b42 (diff)
downloadrtmux-b37399304f9fa310d0790dee8a8325d79cc9af39.tar.gz
rtmux-b37399304f9fa310d0790dee8a8325d79cc9af39.tar.bz2
rtmux-b37399304f9fa310d0790dee8a8325d79cc9af39.zip
Don't redraw status line unless it has actually changed. Stops extraneous
updates between clock/#() changes and doesn't require manual status-interval 0 when no updates are occuring.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/tmux.h b/tmux.h
index 86ac1da6..23bbbac6 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.262 2009-02-09 18:08:01 nicm Exp $ */
+/* $Id: tmux.h,v 1.263 2009-02-10 00:18:06 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -1296,9 +1296,9 @@ void server_lock(void);
int server_unlock(const char *);
/* status.c */
-void status_redraw(struct client *);
-void status_message_redraw(struct client *);
-void status_prompt_redraw(struct client *);
+int status_redraw(struct client *);
+int status_message_redraw(struct client *);
+int status_prompt_redraw(struct client *);
void status_prompt_key(struct client *, int);
/* resize.c */
@@ -1326,6 +1326,7 @@ int attributes_fromstring(const char *);
extern const struct grid_cell grid_default_cell;
struct grid_data *grid_create(u_int, u_int, u_int);
void grid_destroy(struct grid_data *);
+int grid_compare(struct grid_data *, struct grid_data *);
void grid_reduce_line(struct grid_data *, u_int, u_int);
void grid_expand_line(struct grid_data *, u_int, u_int);
void grid_scroll_line(struct grid_data *);