mirror of
https://github.com/tmux/tmux.git
synced 2025-11-03 08:16:08 +00:00
Handle insert cells when cursor at edge of screen correctly, and do a
full flush before insert.
This commit is contained in:
@@ -1260,6 +1260,7 @@ screen_write_cell(struct screen_write_ctx *ctx, const struct grid_cell *gc)
|
||||
|
||||
/* Create space for character in insert mode. */
|
||||
if (s->mode & MODE_INSERT) {
|
||||
screen_write_collect_flush(ctx, 0);
|
||||
ttyctx.num = width;
|
||||
tty_write(tty_cmd_insertcharacter, &ttyctx);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user