aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-10-15 01:41:14 +0000
committerTiago Cunha <tcunha@gmx.com>2009-10-15 01:41:14 +0000
commit610362812942f4b5d60f3a29436ddc716d794908 (patch)
tree2e11c9414b1a0f302cb709a39d2880cfd51dc034 /tmux.h
parentcbd3b1bc9b51d38c98fd02df8c489b7bc9dab728 (diff)
downloadrtmux-610362812942f4b5d60f3a29436ddc716d794908.tar.gz
rtmux-610362812942f4b5d60f3a29436ddc716d794908.tar.bz2
rtmux-610362812942f4b5d60f3a29436ddc716d794908.zip
Sync OpenBSD patchset 401:
When drawing lines that have wrapped naturally, don't force a newline but permit them to wrap naturally again. This allows terminals that use this to guess where lines start and end for eg mouse selecting (like xterm) to work correctly. This was another long-standing issue raised by several people over the last while. Thanks to martynas@ for much testing. This was not trivial to get right so bringing it in for wider testing and adn to fix any further glitches in-tree.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index 622c4868..b965c2c8 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.474 2009-10-15 01:39:30 tcunha Exp $ */
+/* $Id: tmux.h,v 1.475 2009-10-15 01:41:14 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -1664,6 +1664,7 @@ void screen_write_scrollregion(struct screen_write_ctx *, u_int, u_int);
void screen_write_insertmode(struct screen_write_ctx *, int);
void screen_write_mousemode(struct screen_write_ctx *, int);
void screen_write_linefeed(struct screen_write_ctx *, int);
+void screen_write_linefeedscreen(struct screen_write_ctx *, int);
void screen_write_carriagereturn(struct screen_write_ctx *);
void screen_write_kcursormode(struct screen_write_ctx *, int);
void screen_write_kkeypadmode(struct screen_write_ctx *, int);