diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-12-06 10:16:36 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-12-06 10:16:36 +0000 |
commit | 4f44b09195646799e6c639c8bf0fde968eee7a44 (patch) | |
tree | 7a2ea810531a6d0cdbbe8c9d1f9efee2536bfef6 /screen-write.c | |
parent | 7dc18f68e3dd016d381bef43b943c0c482057e57 (diff) |
Redraw buglets.
Diffstat (limited to 'screen-write.c')
-rw-r--r-- | screen-write.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/screen-write.c b/screen-write.c index c033a782..eee14c72 100644 --- a/screen-write.c +++ b/screen-write.c @@ -1,4 +1,4 @@ -/* $Id: screen-write.c,v 1.1 2007-12-06 09:46:23 nicm Exp $ */ +/* $Id: screen-write.c,v 1.2 2007-12-06 10:16:36 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -101,6 +101,8 @@ screen_write_put_character(struct screen_write_ctx *ctx, u_char ch) if (s->cx == screen_size_x(s)) { s->cx = 0; + if (ctx->write != NULL) + ctx->write(ctx->data, TTY_CHARACTER, '\r'); screen_write_cursor_down_scroll(ctx); } else if (!screen_in_x(s, s->cx) || !screen_in_y(s, s->cy)) return; |