aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-10-23 17:06:23 +0000
committerTiago Cunha <tcunha@gmx.com>2009-10-23 17:06:23 +0000
commitac4e4a2b6c2b0ddef7614a38ed40307dd32bbaf6 (patch)
treea9e53745bab6e6803363444318cf4fefb27e64fd /tmux.h
parent13d1df659f464714af03221bfe2f1ef680dae3ae (diff)
downloadrtmux-ac4e4a2b6c2b0ddef7614a38ed40307dd32bbaf6.tar.gz
rtmux-ac4e4a2b6c2b0ddef7614a38ed40307dd32bbaf6.tar.bz2
rtmux-ac4e4a2b6c2b0ddef7614a38ed40307dd32bbaf6.zip
Sync OpenBSD patchset 414:
Instead of having a complicated check to see if the cursor is in the last position to avoid an explicit wrap, actually move it there. Some UTF-8 fixes to come.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index d9612417..790a42ab 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.477 2009-10-15 01:55:12 tcunha Exp $ */
+/* $Id: tmux.h,v 1.478 2009-10-23 17:06:23 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -968,6 +968,11 @@ struct tty_ctx {
u_int orupper;
u_int orlower;
+
+ /* Saved last cell on line. */
+ struct grid_cell last_cell;
+ struct grid_utf8 last_utf8;
+ u_int last_width;
};
/* Mouse input. */