aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-10-15 01:55:12 +0000
committerTiago Cunha <tcunha@gmx.com>2009-10-15 01:55:12 +0000
commit3d88da7b2afbd24bf62259bb7f2f53ccf29f8379 (patch)
tree05fca8eb06bba764879ea1cac6fec352066ab538 /tmux.h
parentee46dba585cbd38ff90344b311a71ca6cf8cadc5 (diff)
downloadrtmux-3d88da7b2afbd24bf62259bb7f2f53ccf29f8379.tar.gz
rtmux-3d88da7b2afbd24bf62259bb7f2f53ccf29f8379.tar.bz2
rtmux-3d88da7b2afbd24bf62259bb7f2f53ccf29f8379.zip
Sync OpenBSD patchset 409:
Move lines into the history when scrolling even if the scroll region is not the entire screen. Allows ircII users to see history, prompted by naddy.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/tmux.h b/tmux.h
index 19fc9072..d9612417 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.476 2009-10-15 01:52:47 tcunha Exp $ */
+/* $Id: tmux.h,v 1.477 2009-10-15 01:55:12 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -1590,9 +1590,11 @@ extern const struct grid_cell grid_default_cell;
struct grid *grid_create(u_int, u_int, u_int);
void grid_destroy(struct grid *);
int grid_compare(struct grid *, struct grid *);
+void grid_collect_history(struct grid *);
+void grid_scroll_history(struct grid *);
+void grid_scroll_history_region(struct grid *, u_int, u_int);
void grid_expand_line(struct grid *, u_int, u_int);
void grid_expand_line_utf8(struct grid *, u_int, u_int);
-void grid_scroll_line(struct grid *);
const struct grid_cell *grid_peek_cell(struct grid *, u_int, u_int);
struct grid_cell *grid_get_cell(struct grid *, u_int, u_int);
void grid_set_cell(struct grid *, u_int, u_int, const struct grid_cell *);