Pane.select
Select pane.
Source and package
-
Examples#
>>> pane = window.active_pane>>> new_pane = window.split()>>> pane.refresh()>>> active_panes = [p for p in window.panes if p.pane_active == '1']>>> pane in active_panesTrue>>> new_pane in active_panesFalse>>> new_pane.pane_active == '1'False>>> new_pane.select()Pane(...)>>> new_pane.pane_active == '1'True- Parameters
-
-
direction(ResizeAdjustment | None) # – Select the pane in the given direction (Direction -U,-D,-L,-R). added 0.56 -
last(bool | None) # – Select the last (previously selected) pane (-lflag). added 0.56 -
keep_zoom(bool | None) # – Keep the window zoomed if it was zoomed (-Zflag). added 0.56 -
mark(bool | None) # – Set the marked pane (-mflag). added 0.56 -
clear_mark(bool | None) # – Clear the marked pane (-Mflag). added 0.56 -
disable_input(bool | None) # – Disable input to the pane (-dflag). added 0.56 -
enable_input(bool | None) # – Enable input to the pane (-eflag). added 0.56
-
- Returns
-
PaneSelf, for method chaining.
tmux command
select-paneIn other ports Make a pane active
- PowerShell No source-verified PowerShell equivalent is recorded for this operation.
- Julia No source-verified Julia equivalent is recorded for this operation.
- Ruby
- Lua
- TypeScript
- Rust
- Go
- Java
- C#
- C++
- Swift
- Kotlin No source-verified Kotlin equivalent is recorded for this operation.
- Scala No source-verified Scala equivalent is recorded for this operation.
- F# No source-verified F# equivalent is recorded for this operation.