mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Handle insert cells when cursor at edge of screen correctly, and do a
full flush before insert.
This commit is contained in:
@ -194,7 +194,7 @@ grid_view_insert_cells(struct grid *gd, u_int px, u_int py, u_int nx, u_int bg)
|
||||
|
||||
sx = grid_view_x(gd, gd->sx);
|
||||
|
||||
if (px == sx - 1)
|
||||
if (px >= sx - 1)
|
||||
grid_clear(gd, px, py, 1, 1, bg);
|
||||
else
|
||||
grid_move_cells(gd, px + nx, px, py, sx - px - nx, bg);
|
||||
|
Reference in New Issue
Block a user