summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-09-29 10:57:39 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-09-29 10:57:39 +0000
commita777c060dc01f77840d842d7ed070ba115520547 (patch)
treeeeadfa17480551d6978cd05068b88d5d2668c1f1 /tmux.h
parent2ec60c9d66978bee9f405ba0b11cc0418d4d2a6c (diff)
Nuke CLEAR_SCREEN/ENDOFSCREEN and assert scroll region when drawing. These will be reqd for status line(s).
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/tmux.h b/tmux.h
index 27af6bd8..76f3dc33 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.23 2007-09-29 09:53:25 nicm Exp $ */
+/* $Id: tmux.h,v 1.24 2007-09-29 10:57:39 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -238,9 +238,9 @@ struct buffer {
#define CODE_INSERTLINE 6
#define CODE_DELETELINE 7
#define CODE_CLEARLINE 8
-#define CODE_CLEARSCREEN 9
+/* 9 unused */
#define CODE_CLEARENDOFLINE 10
-#define CODE_CLEARENDOFSCREEN 11
+/* 11 unused */
#define CODE_CLEARSTARTOFLINE 12
#define CODE_CURSORMOVE 13
#define CODE_ATTRIBUTES 14
@@ -568,6 +568,8 @@ void input_translate_key(struct buffer *, int);
void screen_create(struct screen *, u_int, u_int);
void screen_resize(struct screen *, u_int, u_int);
void screen_draw(struct screen *, struct buffer *, u_int, u_int);
+size_t screen_store_attributes(struct buffer *, u_char);
+size_t screen_store_colours(struct buffer *, u_char);
void screen_write_character(struct screen *, u_char);
void screen_insert_lines(struct screen *, u_int, u_int);
void screen_delete_lines(struct screen *, u_int, u_int);