ttx 0.1.0
Loading...
Searching...
No Matches
ttx::CreatePaneArgs Struct Reference

#include <ttx/pane.h>

Public Member Functions

auto clone () const -> CreatePaneArgs
auto with_cwd (di::Optional< di::Path > cwd) const &-> CreatePaneArgs

Public Attributes

di::Vector< di::TransparentString > command {}
di::Optional< di::Path > capture_command_output_path {}
di::Optional< di::Path > replay_path {}
di::Optional< di::Path > save_state_path {}
di::Optional< di::String > pipe_input {}
di::Optional< di::Path > cwd {}
di::Optional< di::Path > terminfo_dir {}
di::TransparentString term { "xterm-ttx"_ts }
terminal::Palette global_palette {}
terminal::Palette local_palette {}
terminal::ThemeMode theme_mode { terminal::ThemeMode::Dark }
bool pipe_output { false }
bool pipe_extra_output { false }
 Create a pipe on fd 3 and read from it.
bool mock { false }
PaneHooks hooks {}

Member Function Documentation

◆ clone()

auto ttx::CreatePaneArgs::clone ( ) const -> CreatePaneArgs
inline

◆ with_cwd()

auto ttx::CreatePaneArgs::with_cwd ( di::Optional< di::Path > cwd) const & -> CreatePaneArgs
inline

Member Data Documentation

◆ capture_command_output_path

di::Optional<di::Path> ttx::CreatePaneArgs::capture_command_output_path {}

◆ command

di::Vector<di::TransparentString> ttx::CreatePaneArgs::command {}

◆ cwd

di::Optional<di::Path> ttx::CreatePaneArgs::cwd {}

◆ global_palette

terminal::Palette ttx::CreatePaneArgs::global_palette {}

◆ hooks

PaneHooks ttx::CreatePaneArgs::hooks {}

◆ local_palette

terminal::Palette ttx::CreatePaneArgs::local_palette {}

◆ mock

bool ttx::CreatePaneArgs::mock { false }

◆ pipe_extra_output

bool ttx::CreatePaneArgs::pipe_extra_output { false }

Create a pipe on fd 3 and read from it.

◆ pipe_input

di::Optional<di::String> ttx::CreatePaneArgs::pipe_input {}

◆ pipe_output

bool ttx::CreatePaneArgs::pipe_output { false }

◆ replay_path

di::Optional<di::Path> ttx::CreatePaneArgs::replay_path {}

◆ save_state_path

di::Optional<di::Path> ttx::CreatePaneArgs::save_state_path {}

◆ term

di::TransparentString ttx::CreatePaneArgs::term { "xterm-ttx"_ts }

◆ terminfo_dir

di::Optional<di::Path> ttx::CreatePaneArgs::terminfo_dir {}

◆ theme_mode

terminal::ThemeMode ttx::CreatePaneArgs::theme_mode { terminal::ThemeMode::Dark }

The documentation for this struct was generated from the following file: