diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-10-17 08:24:46 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-10-17 08:24:46 +0000 |
commit | 43d62c1ae3846ba1b33d79349be367ed3b6763cf (patch) | |
tree | 2669769866294fed8087b5dea4bf81d36daa7207 /tmux.h | |
parent | 70355021d8e8b83eaa3d947dc7a49b4eacff17fa (diff) | |
download | rtmux-43d62c1ae3846ba1b33d79349be367ed3b6763cf.tar.gz rtmux-43d62c1ae3846ba1b33d79349be367ed3b6763cf.tar.bz2 rtmux-43d62c1ae3846ba1b33d79349be367ed3b6763cf.zip |
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 | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -970,6 +970,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. */ |