diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2012-01-29 09:37:02 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2012-01-29 09:37:02 +0000 |
commit | 230d0fbc9e273a171e811f58b540163fe871df5e (patch) | |
tree | 4ad5639d35a19bb1592a2050a4161ff2411323e2 /tmux.h | |
parent | 9bbc63ed653e6ca73e4eaebd6f52466d53a4da73 (diff) | |
download | rtmux-230d0fbc9e273a171e811f58b540163fe871df5e.tar.gz rtmux-230d0fbc9e273a171e811f58b540163fe871df5e.tar.bz2 rtmux-230d0fbc9e273a171e811f58b540163fe871df5e.zip |
Add an option to move the status line to the top of the screen,
requested by many.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1078,6 +1078,9 @@ struct tty_ctx { u_int orupper; u_int orlower; + u_int xoff; + u_int yoff; + /* Saved last cell on line. */ struct grid_cell last_cell; struct grid_utf8 last_utf8; @@ -1463,8 +1466,8 @@ void tty_draw_line(struct tty *, struct screen *, u_int, u_int, u_int); int tty_open(struct tty *, const char *, char **); void tty_close(struct tty *); void tty_free(struct tty *); -void tty_write(void (*)( - struct tty *, const struct tty_ctx *), const struct tty_ctx *); +void tty_write( + void (*)(struct tty *, const struct tty_ctx *), struct tty_ctx *); void tty_cmd_alignmenttest(struct tty *, const struct tty_ctx *); void tty_cmd_cell(struct tty *, const struct tty_ctx *); void tty_cmd_clearendofline(struct tty *, const struct tty_ctx *); @@ -1722,6 +1725,7 @@ void server_update_event(struct client *); /* status.c */ int status_out_cmp(struct status_out *, struct status_out *); RB_PROTOTYPE(status_out_tree, status_out, entry, status_out_cmp); +int status_at_line(struct client *); void status_free_jobs(struct status_out_tree *); void status_update_jobs(struct client *); void status_set_window_at(struct client *, u_int); |