diff options
author | Jesse Luehrs <doy@tozt.net> | 2016-05-07 19:19:55 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2016-05-07 19:41:52 -0400 |
commit | 36fb7cdd3d7a1b8f522ebf84e60cacb9350b20c2 (patch) | |
tree | f8cb702d3bc9fbb7183aa4bfc88723cd885f7056 /src/pty-unix.c | |
parent | 031c4891b0be5abaa4ce86c9cad45388c11f9293 (diff) | |
download | runes-36fb7cdd3d7a1b8f522ebf84e60cacb9350b20c2.tar.gz runes-36fb7cdd3d7a1b8f522ebf84e60cacb9350b20c2.zip |
move the scroll-down-on-input behavior into the window backend
Diffstat (limited to 'src/pty-unix.c')
-rw-r--r-- | src/pty-unix.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/pty-unix.c b/src/pty-unix.c index e2b55a8..3c69849 100644 --- a/src/pty-unix.c +++ b/src/pty-unix.c @@ -6,12 +6,12 @@ #include <string.h> #include <sys/ioctl.h> #include <unistd.h> +#include <vt100.h> #include "runes.h" #include "pty-unix.h" #include "config.h" -#include "display.h" #include "loop.h" #include "window-xlib.h" @@ -116,11 +116,6 @@ void runes_pty_backend_set_window_size(RunesTerm *t, int row, int col, void runes_pty_backend_write(RunesTerm *t, char *buf, size_t len) { write(t->pty->master, buf, len); - if (t->display->row_visible_offset != 0) { - t->display->row_visible_offset = 0; - t->scr->dirty = 1; - runes_window_backend_request_flush(t); - } } void runes_pty_backend_request_close(RunesTerm *t) |