mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Also recalculate session sizes when refreh-client -C is used. GitHub
issue 947.
This commit is contained in:
		@@ -67,10 +67,9 @@ cmd_refresh_client_exec(struct cmd *self, struct cmdq_item *item)
 | 
				
			|||||||
			cmdq_error(item, "not a control client");
 | 
								cmdq_error(item, "not a control client");
 | 
				
			||||||
			return (CMD_RETURN_ERROR);
 | 
								return (CMD_RETURN_ERROR);
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		if (tty_set_size(&c->tty, w, h)) {
 | 
							tty_set_size(&c->tty, w, h);
 | 
				
			||||||
			c->flags |= CLIENT_SIZECHANGED;
 | 
							c->flags |= CLIENT_SIZECHANGED;
 | 
				
			||||||
			recalculate_sizes();
 | 
							recalculate_sizes();
 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
	} else if (args_has(args, 'S')) {
 | 
						} else if (args_has(args, 'S')) {
 | 
				
			||||||
		c->flags |= CLIENT_STATUSFORCE;
 | 
							c->flags |= CLIENT_STATUSFORCE;
 | 
				
			||||||
		server_status_client(c);
 | 
							server_status_client(c);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user