@cmd('<STR_LIT>', options="<STR_LIT>")<EOL>def resize_pane(pymux, variables):
try:<EOL><INDENT>left = int(variables['<STR_LIT>'] or <NUM_LIT:0>)<EOL>right = int(variables['<STR_LIT>'] or <NUM_LIT:0>)<EOL>up = int(variables['<STR_LIT>'] or <NUM_LIT:0>)<EOL>down = int(variables['<STR_LIT>'] or <NUM_LIT:0>)<EOL><DEDENT>except ValueError:<EOL><INDENT>raise CommandException('<STR_LIT>')<EOL><DEDENT>w = pymux.arrangement.get_active_window()<EOL>if w:<EOL><INDENT>w.change_size_for_active_pane(up=up, right=right, down=down, left=left)<EOL>if variables['<STR_LIT>']:<EOL><INDENT>w.zoom = not w.zoom<EOL><DEDENT><DEDENT>
Resize/zoom the active pane.