LibTmux.Mcp.PaneInfo
- [UnsupportedOSPlatform("windows")] public sealed record PaneInfo( string Pane
Id , string WindowId , string SessionId , int Index, int Width, int Height, string? Title, bool Active, bool Dead, bool Zoomed, bool InMode , string? CurrentCommand , string? CurrentPath , int? Pid, int? HistorySize , int? HistoryLimit , bool IsCaller ) -
What a pane is and what is running in it.
Description
IsCalleris how a model answers "which pane am I in?" without a tool of its own: filter a listing for it.- Parameters
-
-
SessionId(string) – The session holding that window, such as$0. -
InMode(bool) – Whether it is in copy mode or another pane mode. -
CurrentCommand(string?) – The command tmux believes is running. -
CurrentPath(string?) – The working directory tmux reports. -
HistorySize(int?) – Lines currently held in scrollback. -
HistoryLimit(int?) – The most lines scrollback will hold. -
IsCaller(bool) – Whether this is the pane this server runs inside.
Properties17
| Name | Type | Description |
|---|---|---|
| PaneId | string | The pane's identifier, such as %1. |
| WindowId | string | The window holding it, such as @0. |
| SessionId | string | The session holding that window, such as $0. |
| Index | int | The pane's position within its window. |
| Width | int | Columns. |
| Height | int | Rows. |
| Title | string? | The pane title, when it has one. |
| Active | bool | Whether it is the window's active pane. |
| Dead | bool | Whether the program in it has exited. |
| Zoomed | bool | Whether it is zoomed to fill its window. |
| InMode | bool | Whether it is in copy mode or another pane mode. |
| CurrentCommand | string? | The command tmux believes is running. |
| CurrentPath | string? | The working directory tmux reports. |
| Pid | int? | The process the pane started. |
| HistorySize | int? | Lines currently held in scrollback. |
| HistoryLimit | int? | The most lines scrollback will hold. |
| IsCaller | bool | Whether this is the pane this server runs inside. |
Other members1 members
- From Describes a pane the library has already materialized.