diff options
author | Thomas Adam <thomas@xteddy.org> | 2022-06-21 12:01:09 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2022-06-21 12:01:09 +0100 |
commit | b63afaea61c8076610a6003d4d046a95436460cf (patch) | |
tree | ec3188d61816904f74b9859d583634b380a25588 /grid.c | |
parent | d46870ede5e79c748cf8d06a00cdcc7310846844 (diff) | |
parent | 9c89f7c2af748858e784e8c533c548460bd6b10e (diff) | |
download | rtmux-b63afaea61c8076610a6003d4d046a95436460cf.tar.gz rtmux-b63afaea61c8076610a6003d4d046a95436460cf.tar.bz2 rtmux-b63afaea61c8076610a6003d4d046a95436460cf.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'grid.c')
-rw-r--r-- | grid.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -399,6 +399,7 @@ grid_scroll_history(struct grid *gd, u_int bg) gd->hscrolled++; grid_compact_line(&gd->linedata[gd->hsize]); + gd->linedata[gd->hsize].time = current_time; gd->hsize++; } @@ -438,6 +439,7 @@ grid_scroll_history_region(struct grid *gd, u_int upper, u_int lower, u_int bg) /* Move the line into the history. */ memcpy(gl_history, gl_upper, sizeof *gl_history); + gl_history->time = current_time; /* Then move the region up and clear the bottom line. */ memmove(gl_upper, gl_upper + 1, (lower - upper) * sizeof *gl_upper); |