aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-02-10 18:15:30 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-02-10 18:15:30 +0000
commit99cc0015f89698a8e988fa52d51e5959759bf80f (patch)
tree562c066e6cd36e98f085d90bb5bf7a9c5d4c4409 /tmux.h
parentf1ce95915c612ef3b429dc7d2f635b5758b27669 (diff)
downloadrtmux-99cc0015f89698a8e988fa52d51e5959759bf80f.tar.gz
rtmux-99cc0015f89698a8e988fa52d51e5959759bf80f.tar.bz2
rtmux-99cc0015f89698a8e988fa52d51e5959759bf80f.zip
Rework reflow code so it does not do so much allocation which should be faster
with large histories.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index 4a18ecc4..6c7c8532 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1966,7 +1966,7 @@ void grid_move_cells(struct grid *, u_int, u_int, u_int, u_int);
char *grid_string_cells(struct grid *, u_int, u_int, u_int);
void grid_duplicate_lines(
struct grid *, u_int, struct grid *, u_int, u_int);
-u_int grid_reflow(struct grid *, const struct grid *, u_int);
+u_int grid_reflow(struct grid *, struct grid *, u_int);
/* grid-cell.c */
u_int grid_cell_width(const struct grid_cell *);