aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-10-12 16:59:55 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-10-12 16:59:55 +0000
commit8608c6970d67d5dec37400bcb4fb6a0c46efc165 (patch)
treee15779553b82c47035ef95e338eff92cee5b3ad1 /tmux.h
parent693b3d03e66e5ab2f4c4e31b7d5d2c1629afbd8c (diff)
downloadrtmux-8608c6970d67d5dec37400bcb4fb6a0c46efc165.tar.gz
rtmux-8608c6970d67d5dec37400bcb4fb6a0c46efc165.tar.bz2
rtmux-8608c6970d67d5dec37400bcb4fb6a0c46efc165.zip
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 02f9bbd0..2d25c1de 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1646,6 +1646,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);