summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2017-11-15 19:21:24 +0000
committernicm <nicm@openbsd.org>2017-11-15 19:21:24 +0000
commit414c61adb98caf0e1330a0138968ad5bb58c8e0c (patch)
tree33b8ca17495bb3e94466f06f02f7203b9088531b /usr.bin/tmux/tmux.h
parentIf there is a double width character at the very end of the line with (diff)
downloadwireguard-openbsd-414c61adb98caf0e1330a0138968ad5bb58c8e0c.tar.xz
wireguard-openbsd-414c61adb98caf0e1330a0138968ad5bb58c8e0c.zip
Completely rewrite the reflow code to correctly handle double width
characters (previously they were not accounted for).
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index 32704f672e2..cb120955757 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.812 2017/11/03 17:02:33 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.813 2017/11/15 19:21:24 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -1996,7 +1996,7 @@ char *grid_string_cells(struct grid *, u_int, u_int, u_int,
struct grid_cell **, int, int, int);
void grid_duplicate_lines(struct grid *, u_int, struct grid *, u_int,
u_int);
-u_int grid_reflow(struct grid *, struct grid *, u_int);
+void grid_reflow(struct grid *, u_int, u_int *);
/* grid-view.c */
void grid_view_get_cell(struct grid *, u_int, u_int, struct grid_cell *);