diff options
author | Tiago Cunha <tcunha@gmx.com> | 2009-10-23 17:06:23 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2009-10-23 17:06:23 +0000 |
commit | ac4e4a2b6c2b0ddef7614a38ed40307dd32bbaf6 (patch) | |
tree | a9e53745bab6e6803363444318cf4fefb27e64fd /tmux.h | |
parent | 13d1df659f464714af03221bfe2f1ef680dae3ae (diff) | |
download | rtmux-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.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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. */ |