aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2008-06-14 16:47:20 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2008-06-14 16:47:20 +0000
commit0f403474aaf0f4aa4475ef6095d1ab420ebfed60 (patch)
tree2a51f3a931cfa23f39b2f737dd682ddc0e03611a /tmux.h
parent62d7ad2690c0f72f06195351aa50e3fe037f456a (diff)
downloadrtmux-0f403474aaf0f4aa4475ef6095d1ab420ebfed60.tar.gz
rtmux-0f403474aaf0f4aa4475ef6095d1ab420ebfed60.tar.bz2
rtmux-0f403474aaf0f4aa4475ef6095d1ab420ebfed60.zip
New window options: force-width and force-height. This will force a window to
an arbitrary width and height (0 for the default unlimited). This is neat for emacs which doesn't have a sensible way to force hard wrapping at 80 columns. Also, don't try to be clever and use clr_eol when redrawing the whole screen, it causes trouble since the redraw functions are used to draw the blank areas too.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/tmux.h b/tmux.h
index 78697eee..fadd9329 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.140 2008-06-14 12:05:06 nicm Exp $ */
+/* $Id: tmux.h,v 1.141 2008-06-14 16:47:20 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -529,6 +529,9 @@ struct window {
#define WINDOW_MONITOR 0x8
#define WINDOW_AGGRESSIVE 0x10
+ u_int limitx;
+ u_int limity;
+
struct screen *screen;
struct screen base;
@@ -918,9 +921,7 @@ void server_status_window(struct window *);
void printflike2 server_write_message(struct client *, const char *, ...);
/* status.c */
-void status_write_client(struct client *);
-void status_write_session(struct session *);
-void status_write_window(struct window *);
+void status_redraw(struct client *c);
/* resize.c */
void recalculate_sizes(void);
@@ -1005,6 +1006,7 @@ void screen_redraw_cell(struct screen_redraw_ctx *, u_int, u_int);
void screen_redraw_area(
struct screen_redraw_ctx *, u_int, u_int, u_int, u_int);
void screen_redraw_lines(struct screen_redraw_ctx *, u_int, u_int);
+void screen_redraw_columns(struct screen_redraw_ctx *, u_int, u_int);
/* screen.c */
const char *screen_colourstring(u_char);