diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-11-21 14:50:41 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-11-21 14:50:41 +0000 |
commit | 2cdc75fa4efc82f0aa65f514ecec86eedd0404c7 (patch) | |
tree | ab18715557556af2f5c9dbd135c53ea75f966fd4 | |
parent | 4f8ed29022fda413cde09f96100bdc436efe9055 (diff) |
Fix clear.
-rw-r--r-- | TODO | 5 | ||||
-rw-r--r-- | input.c | 6 |
2 files changed, 6 insertions, 5 deletions
@@ -69,10 +69,11 @@ - bind non prefix keys - stuff like rename would be nice to be able to do in-client like screen, if it could be implemented in a non-icky way -- there is to much redrawing. use flags? (there was a problem with this idea..?) +- there is to much redrawing. use flags? (there was a problem with this idea... + CLIENT_HOLD?) - use modes for help etc - scrollback should only draw scrolled line on up/down - +- horizontal scrolling -- For 0.2 -------------------------------------------------------------------- - copy and paste @@ -1,4 +1,4 @@ -/* $Id: input.c,v 1.34 2007-11-21 13:11:41 nicm Exp $ */ +/* $Id: input.c,v 1.35 2007-11-21 14:50:41 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -841,7 +841,7 @@ input_handle_sequence_ed(struct input_ctx *ictx) screen_display_fill_cursor_eos( s, SCREEN_DEFDATA, s->attr, s->colr); - if (!screen_hidden(s)) + if (screen_hidden(s)) break; input_store_zero(ictx->b, CODE_CLEARLINE); for (i = s->cy + 1; i < screen_size_y(s); i++) { @@ -855,7 +855,7 @@ input_handle_sequence_ed(struct input_ctx *ictx) screen_display_fill_lines( s, 0, screen_size_y(s), SCREEN_DEFDATA, s->attr, s->colr); - if (!screen_hidden(s)) + if (screen_hidden(s)) break; for (i = 0; i < screen_size_y(s); i++) { input_store_two(ictx->b, CODE_CURSORMOVE, i + 1, 1); |