mirror of
https://github.com/tmate-io/tmate.git
synced 2025-02-17 10:50:51 +01:00
Fix clear.
This commit is contained in:
parent
4f8ed29022
commit
2cdc75fa4e
5
TODO
5
TODO
@ -69,10 +69,11 @@
|
|||||||
- bind non prefix keys
|
- bind non prefix keys
|
||||||
- stuff like rename would be nice to be able to do in-client like screen, if
|
- 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
|
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
|
- use modes for help etc
|
||||||
- scrollback should only draw scrolled line on up/down
|
- scrollback should only draw scrolled line on up/down
|
||||||
|
- horizontal scrolling
|
||||||
|
|
||||||
-- For 0.2 --------------------------------------------------------------------
|
-- For 0.2 --------------------------------------------------------------------
|
||||||
- copy and paste
|
- copy and paste
|
||||||
|
6
input.c
6
input.c
@ -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>
|
* 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(
|
screen_display_fill_cursor_eos(
|
||||||
s, SCREEN_DEFDATA, s->attr, s->colr);
|
s, SCREEN_DEFDATA, s->attr, s->colr);
|
||||||
|
|
||||||
if (!screen_hidden(s))
|
if (screen_hidden(s))
|
||||||
break;
|
break;
|
||||||
input_store_zero(ictx->b, CODE_CLEARLINE);
|
input_store_zero(ictx->b, CODE_CLEARLINE);
|
||||||
for (i = s->cy + 1; i < screen_size_y(s); i++) {
|
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(
|
screen_display_fill_lines(
|
||||||
s, 0, screen_size_y(s), SCREEN_DEFDATA, s->attr, s->colr);
|
s, 0, screen_size_y(s), SCREEN_DEFDATA, s->attr, s->colr);
|
||||||
|
|
||||||
if (!screen_hidden(s))
|
if (screen_hidden(s))
|
||||||
break;
|
break;
|
||||||
for (i = 0; i < screen_size_y(s); i++) {
|
for (i = 0; i < screen_size_y(s); i++) {
|
||||||
input_store_two(ictx->b, CODE_CURSORMOVE, i + 1, 1);
|
input_store_two(ictx->b, CODE_CURSORMOVE, i + 1, 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user