Represents all commands received for the screen.
More...
#include <ttx/terminal/semantic_prompt.h>
|
| void | clamp_commands (u64 absolute_row_start, u64 absolute_row_end) |
| |
| void | begin_prompt (di::String application_id, PromptClickMode click_mode, PromptKind kind, bool redraw, u64 absolute_row, u32 col) |
| |
| void | end_prompt (u64 absolute_row, u32 col) |
| |
| void | end_input (u64 absolute_row, u32 col) |
| |
| void | end_command (di::String application_id, bool failed, u64 absolute_row, u32 col) |
| |
| auto | last_command () const -> di::Optional< Command const & > |
| |
| auto | will_redraw_prompt_at_row (u64 absolute_row, u32 col) const -> di::Optional< u64 > |
| |
| auto | first_command_before (u64 absolute_row) const -> di::Optional< Command const & > |
| |
| auto | first_command_after (u64 absolute_row) const -> di::Optional< Command const & > |
| |
| void | apply_reflow_result (ReflowResult const &reflow_result) |
| |
| auto | commands () const -> di::Ring< Command > const & |
| |
Represents all commands received for the screen.
◆ apply_reflow_result()
| void ttx::terminal::Commands::apply_reflow_result |
( |
ReflowResult const & | reflow_result | ) |
|
◆ begin_prompt()
| void ttx::terminal::Commands::begin_prompt |
( |
di::String | application_id, |
|
|
PromptClickMode | click_mode, |
|
|
PromptKind | kind, |
|
|
bool | redraw, |
|
|
u64 | absolute_row, |
|
|
u32 | col ) |
◆ clamp_commands()
| void ttx::terminal::Commands::clamp_commands |
( |
u64 | absolute_row_start, |
|
|
u64 | absolute_row_end ) |
◆ commands()
| auto ttx::terminal::Commands::commands |
( |
| ) |
const -> di::Ring<Command> const& |
|
inline |
◆ end_command()
| void ttx::terminal::Commands::end_command |
( |
di::String | application_id, |
|
|
bool | failed, |
|
|
u64 | absolute_row, |
|
|
u32 | col ) |
◆ end_input()
| void ttx::terminal::Commands::end_input |
( |
u64 | absolute_row, |
|
|
u32 | col ) |
◆ end_prompt()
| void ttx::terminal::Commands::end_prompt |
( |
u64 | absolute_row, |
|
|
u32 | col ) |
◆ first_command_after()
| auto ttx::terminal::Commands::first_command_after |
( |
u64 | absolute_row | ) |
const -> di::Optional<Command const&> |
◆ first_command_before()
| auto ttx::terminal::Commands::first_command_before |
( |
u64 | absolute_row | ) |
const -> di::Optional<Command const&> |
◆ last_command()
| auto ttx::terminal::Commands::last_command |
( |
| ) |
const -> di::Optional<Command const&> |
◆ will_redraw_prompt_at_row()
| auto ttx::terminal::Commands::will_redraw_prompt_at_row |
( |
u64 | absolute_row, |
|
|
u32 | col ) const -> di::Optional<u64> |
◆ tag_invoke
| friend auto tag_invoke |
( |
di::Tag< di::reflect > | , |
|
|
di::InPlaceType< Commands > | ) |
|
friend |
The documentation for this class was generated from the following files: