mirror of
https://github.com/tmate-io/tmate.git
synced 2025-01-06 05:58:53 +01:00
Merge branch 'obsd-master'
This commit is contained in:
commit
65b45c9c32
@ -45,6 +45,9 @@ cmd_clear_history_exec(struct cmd *self, struct cmd_q *cmdq)
|
|||||||
return (CMD_RETURN_ERROR);
|
return (CMD_RETURN_ERROR);
|
||||||
gd = wp->base.grid;
|
gd = wp->base.grid;
|
||||||
|
|
||||||
|
if (wp->mode == &window_copy_mode)
|
||||||
|
window_pane_reset_mode(wp);
|
||||||
|
|
||||||
grid_move_lines(gd, 0, gd->hsize, gd->sy);
|
grid_move_lines(gd, 0, gd->hsize, gd->sy);
|
||||||
gd->hsize = 0;
|
gd->hsize = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user