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.
This commit is contained in:
Nicholas Marriott
2009-10-17 08:24:46 +00:00
parent 70355021d8
commit 43d62c1ae3
3 changed files with 65 additions and 44 deletions

5
tmux.h
View File

@ -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. */