diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-02-12 00:18:05 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-02-12 00:18:05 +0000 |
commit | e6ed1cc44f2cba841434781dc42384e48e251cc6 (patch) | |
tree | 8c8a118b2d7eed5003b6af9037cfef2119c985e5 /screen-redraw.c | |
parent | 5a04f74d81f99d98c3c2adff0da6bdfe81843725 (diff) | |
download | rtmux-e6ed1cc44f2cba841434781dc42384e48e251cc6.tar.gz rtmux-e6ed1cc44f2cba841434781dc42384e48e251cc6.tar.bz2 rtmux-e6ed1cc44f2cba841434781dc42384e48e251cc6.zip |
Never draw last character: stops stray scrolling sometimes should status line be disabled.
Diffstat (limited to 'screen-redraw.c')
-rw-r--r-- | screen-redraw.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/screen-redraw.c b/screen-redraw.c index 2043ad19..227ba648 100644 --- a/screen-redraw.c +++ b/screen-redraw.c @@ -1,4 +1,4 @@ -/* $Id: screen-redraw.c,v 1.24 2009-02-11 23:16:41 nicm Exp $ */ +/* $Id: screen-redraw.c,v 1.25 2009-02-12 00:18:05 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -134,11 +134,6 @@ screen_redraw_line(struct client *c, struct screen *s, u_int oy, u_int py) sx = screen_size_x(s); if (sx > c->tty.sx) sx = c->tty.sx; - if (c->tty.term->flags & TERM_EARLYWRAP) { - /* Work around weirdness by omitting bottom right character. */ - if (oy + py == c->tty.sy - 1 && sx == c->tty.sx) - sx--; - } for (i = 0; i < sx; i++) { gc = grid_view_peek_cell(s->grid, i, py); tty_cursor(&c->tty, i, py, oy); |