diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-11-27 19:32:15 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-11-27 19:32:15 +0000 |
commit | 80e30f693c925841b5874063ca1d8aab2c42d231 (patch) | |
tree | 5890bde38ebe3e4e2ff96cbb658151efc700164a /window-scroll.c | |
parent | 76c8a590db14131928f79123adcab934a3825501 (diff) | |
download | rtmux-80e30f693c925841b5874063ca1d8aab2c42d231.tar.gz rtmux-80e30f693c925841b5874063ca1d8aab2c42d231.tar.bz2 rtmux-80e30f693c925841b5874063ca1d8aab2c42d231.zip |
Minor tweaks/missed bits.
Diffstat (limited to 'window-scroll.c')
-rw-r--r-- | window-scroll.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/window-scroll.c b/window-scroll.c index 07d0663b..d696dabe 100644 --- a/window-scroll.c +++ b/window-scroll.c @@ -1,4 +1,4 @@ -/* $Id: window-scroll.c,v 1.13 2007-11-27 19:23:34 nicm Exp $ */ +/* $Id: window-scroll.c,v 1.14 2007-11-27 19:32:15 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -86,6 +86,7 @@ window_scroll_draw_position(struct window *w, struct screen_draw_ctx *ctx) screen_draw_move_cursor(ctx, screen_size_x(ctx->s) - len, 0); screen_draw_set_attributes(ctx, 0, status_colour); + screen_draw_write_string(ctx, "%s", ptr); } void @@ -99,6 +100,7 @@ window_scroll_draw( data->oy += s->hsize - data->size; data->size = s->hsize; } + screen_draw_set_offset(ctx, data->ox, data->oy); if (py != 0) screen_draw_lines(ctx, py, ny); |