summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2015-08-10 21:31:24 +0200
committerBoris Faure <billiob@gmail.com>2015-08-10 21:31:24 +0200
commitd0bedb9a8ab87e488559d1a51fd7fd66058356e8 (patch)
treee685fe8f02226eea29169f83cf2e1a750464026c
parent69cffca8b028c20e2c87944dfc5e36eaae77baec (diff)
backlog: update beacon while browsing
-rw-r--r--src/bin/termpty.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/termpty.c b/src/bin/termpty.c
index 4422e82..50b86ab 100644
--- a/src/bin/termpty.c
+++ b/src/bin/termpty.c
@@ -810,6 +810,8 @@ _termpty_cellrow_from_beacon_get(Termpty *ty, int requested_y, ssize_t *wret)
810 *wret = ts->w - delta * ty->w; 810 *wret = ts->w - delta * ty->w;
811 if (*wret > ts->w) 811 if (*wret > ts->w)
812 *wret = ts->w; 812 *wret = ts->w;
813 ty->backlog_beacon.screen_y = screen_y;
814 ty->backlog_beacon.backlog_y = backlog_y;
813 return &ts->cells[delta * ty->w]; 815 return &ts->cells[delta * ty->w];
814 } 816 }
815 817