Keep SSH pane focus and visible grids in sync

This commit is contained in:
James Magahern
2026-11-17 16:13:02 -08:00
parent cb842c66cb
commit f2390ca9b4
3 changed files with 142 additions and 40 deletions
+1 -1
View File
@@ -409,7 +409,7 @@ fn shell_quote(value: &str) -> String {
format!("'{}'", value.replace('\'', "'\\''"))
}
fn validate_snapshot(snapshot: &Snapshot) -> Result<()> {
pub(crate) fn validate_snapshot(snapshot: &Snapshot) -> Result<()> {
if snapshot.tabs.len() > 256 || snapshot.lineage.len() > 256 || snapshot.panes.len() > 64 {
bail!("Server layout exceeds client limits");
}