Prevent display-panes from shifting the active pane scroll position by

copying the screen from before zoom, also do not let resize consume
blank lines.
This commit is contained in:
nicm
2026-07-17 16:03:15 +00:00
committed by tmux update bot
parent 377a810168
commit 496bfdce38
3 changed files with 60 additions and 15 deletions

3
tmux.h
View File

@@ -1,4 +1,4 @@
/* $OpenBSD: tmux.h,v 1.1408 2026/07/17 12:42:51 nicm Exp $ */
/* $OpenBSD: tmux.h,v 1.1409 2026/07/17 16:03:15 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -1277,6 +1277,7 @@ struct window_pane {
#define PANE_DESTROYED 0x10000
#define PANE_CMDRUNNING 0x20000
#define PANE_ACTIVITY 0x40000
#define PANE_NORESIZETRIM 0x80000
bitstr_t *sync_dirty;
u_int sync_dirty_size;