aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-10-15 01:39:30 +0000
committerTiago Cunha <tcunha@gmx.com>2009-10-15 01:39:30 +0000
commitcbd3b1bc9b51d38c98fd02df8c489b7bc9dab728 (patch)
tree8194ffbe43f530f331231b1fedb446257cb33744 /tmux.h
parent04db3c62114c3cc6a822e9045fe989d26d374016 (diff)
downloadrtmux-cbd3b1bc9b51d38c98fd02df8c489b7bc9dab728.tar.gz
rtmux-cbd3b1bc9b51d38c98fd02df8c489b7bc9dab728.tar.bz2
rtmux-cbd3b1bc9b51d38c98fd02df8c489b7bc9dab728.zip
Sync OpenBSD patchset 400:
When backspace is received at the beginning of a line and the previous line was wrapped, move the cursor back up to the end of the previous line. Another one of the forgotten persons requested this quite a while ago (I need to start noting names on todo items...) when it was quite hard to implement. Now it is easy and I don't see it can do any harm, so hey presto...
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 179a35cb..622c4868 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.473 2009-10-15 01:33:21 tcunha Exp $ */
+/* $Id: tmux.h,v 1.474 2009-10-15 01:39:30 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -1644,6 +1644,7 @@ void screen_write_putc(
struct screen_write_ctx *, struct grid_cell *, u_char);
void screen_write_copy(struct screen_write_ctx *,
struct screen *, u_int, u_int, u_int, u_int);
+void screen_write_backspace(struct screen_write_ctx *);
void screen_write_cursorup(struct screen_write_ctx *, u_int);
void screen_write_cursordown(struct screen_write_ctx *, u_int);
void screen_write_cursorright(struct screen_write_ctx *, u_int);