mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-17 09:01:34 +02:00
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.
This commit is contained in:
7
tmux.h
7
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. */
|
||||
|
Reference in New Issue
Block a user