From 3d88da7b2afbd24bf62259bb7f2f53ccf29f8379 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Thu, 15 Oct 2009 01:55:12 +0000 Subject: 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. --- tmux.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tmux.h') 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 @@ -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 *); -- cgit