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

#include <ttx/pane.h>

Public Attributes

di::Function< void(Pane &, di::Optional< dius::system::ProcessResult >)> did_exit
 Application controlled callback when the internal process exits.
 
di::Function< void(Pane &)> did_update
 controlled callback when the terminal buffer has updated.
 
di::Function< void(terminal::OSC52, bool)> did_selection
 Application controlled callback when a clipboard set/request is invoked.
 
di::Function< void(di::StringView)> apc_passthrough
 Application controlled callback when APC command is set.
 
di::Function< void(di::StringView)> did_finish_output
 Callback with the results on reading from the output pipe.
 
di::Function< void()> did_update_cwd
 Callback when the pane's current working directory changes.
 

Member Data Documentation

◆ apc_passthrough

di::Function<void(di::StringView)> ttx::PaneHooks::apc_passthrough

Application controlled callback when APC command is set.

◆ did_exit

di::Function<void(Pane&, di::Optional<dius::system::ProcessResult>)> ttx::PaneHooks::did_exit

Application controlled callback when the internal process exits.

◆ did_finish_output

di::Function<void(di::StringView)> ttx::PaneHooks::did_finish_output

Callback with the results on reading from the output pipe.

◆ did_selection

di::Function<void(terminal::OSC52, bool)> ttx::PaneHooks::did_selection

Application controlled callback when a clipboard set/request is invoked.

◆ did_update

di::Function<void(Pane&)> ttx::PaneHooks::did_update

controlled callback when the terminal buffer has updated.

◆ did_update_cwd

di::Function<void()> ttx::PaneHooks::did_update_cwd

Callback when the pane's current working directory changes.


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