aboutsummaryrefslogtreecommitdiffstats
path: root/src/pty-unix.c
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-05-04 21:35:42 -0400
committerJesse Luehrs <doy@tozt.net>2014-05-04 21:35:42 -0400
commitd78ae64f0682a4aef09e9ff77e8748af9b2380b9 (patch)
treeaaa9aca1f4f9e2f43c8067179ae1e859e9defd0b /src/pty-unix.c
parent9b6181449b5e56ae13ef7ef51e5678e5db1e1ea6 (diff)
downloadrunes-d78ae64f0682a4aef09e9ff77e8748af9b2380b9.tar.gz
runes-d78ae64f0682a4aef09e9ff77e8748af9b2380b9.zip
refactor
Diffstat (limited to 'src/pty-unix.c')
-rw-r--r--src/pty-unix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pty-unix.c b/src/pty-unix.c
index 3faeb7f..59636e7 100644
--- a/src/pty-unix.c
+++ b/src/pty-unix.c
@@ -109,8 +109,8 @@ void runes_pty_backend_set_window_size(RunesTerm *t)
void runes_pty_backend_write(RunesTerm *t, char *buf, size_t len)
{
write(t->pty.master, buf, len);
- if (t->scr.row_visible_offset != 0) {
- t->scr.row_visible_offset = 0;
+ if (t->w.row_visible_offset != 0) {
+ t->w.row_visible_offset = 0;
t->scr.dirty = 1;
runes_window_backend_request_flush(t);
}