ttx 0.1.0
Loading...
Searching...
No Matches
ttx::terminal::EndCommand Struct Reference

Represents the end of a command, including exit status. More...

#include <ttx/terminal/escapes/osc_133.h>

Public Member Functions

auto operator== (EndCommand const &) const -> bool=default
 

Public Attributes

di::String application_id {}
 Application id, used to detect sub-shells.
 
u32 exit_code { 0 }
 Command exit code.
 
di::String error {}
 Command error string (empty means success)
 

Friends

constexpr friend auto tag_invoke (di::Tag< di::reflect >, di::InPlaceType< EndCommand >)
 

Detailed Description

Represents the end of a command, including exit status.

The start of a command is either marked by the end of the user input.

Member Function Documentation

◆ operator==()

auto ttx::terminal::EndCommand::operator== ( EndCommand const & ) const -> bool=default
default

Friends And Related Symbol Documentation

◆ tag_invoke

friend auto tag_invoke ( di::Tag< di::reflect > ,
di::InPlaceType< EndCommand >  )
friend

Member Data Documentation

◆ application_id

di::String ttx::terminal::EndCommand::application_id {}

Application id, used to detect sub-shells.

◆ error

di::String ttx::terminal::EndCommand::error {}

Command error string (empty means success)

◆ exit_code

u32 ttx::terminal::EndCommand::exit_code { 0 }

Command exit code.


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