From 7745805e4cade7bec42d6ec38f5c0a89ffdd2d29 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 21 Mar 2013 16:12:11 +0000 Subject: Rework reflow code so it does not do so much allocation which should be faster with large histories. --- usr.bin/tmux/tmux.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/tmux/tmux.h') diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index ca0ec7f5e3f..67975bde0a4 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.377 2013/03/21 16:09:59 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.378 2013/03/21 16:12:10 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -1970,7 +1970,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 *); -- cgit v1.2.3