Skip to content

A modern terminal with a built-in multiplexer: close it and your sessions keep running. Run shells and tons of AI agents across your machines, then pick them up from desktop, browser, TUI and more. Written in Rust with no UI framework: interface drawn straight on the GPU. No Electron, GPUI or webview.

898 B
Raw Blame
Retrieves the textual content of a pane and output it to stdout

Usage: thinkterm cli get-text [OPTIONS]

Options:
      --pane-id <PANE_ID>        Specify the target pane. The default is to use the current pane based on the environment variable WEZTERM_PANE
      --start-line <START_LINE>  The starting line number. 0 is the first line of terminal screen. Negative numbers proceed backwards into the scrollback. The default value is unspecified is 0, the first line of the terminal screen
      --end-line <END_LINE>      The ending line number. 0 is the first line of terminal screen. Negative numbers proceed backwards into the scrollback. The default value if unspecified is the bottom of the the terminal screen
      --escapes                  Include escape sequences that color and style the text. If omitted, unattributed text will be returned
  -h, --help                     Print help