diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2024-02-06 11:13:27 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2024-02-06 11:13:27 +0000 |
| commit | 0a302265ec36b1cbdeb752ed9a87cb19b188017c (patch) | |
| tree | cbe215dad8862bd348c4233dd6469ac6732561f4 /terminal.h | |
| parent | Merge branch 'modifiers' (diff) | |
| parent | grid: resize with reflow: reflow FTCS_COMMAND_{EXECUTED,FINISHED} (diff) | |
Merge branch 'pipe-command-output'
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -121,8 +121,11 @@ struct row { bool dirty; bool linebreak; - /* Shell integration */ - bool prompt_marker; + struct { + bool prompt_marker; + int cmd_start; /* Column, -1 if unset */ + int cmd_end; /* Column, -1 if unset */ + } shell_integration; }; struct sixel { @@ -844,6 +847,8 @@ bool term_scrollback_to_text( const struct terminal *term, char **text, size_t *len); bool term_view_to_text( const struct terminal *term, char **text, size_t *len); +bool term_command_output_to_text( + const struct terminal *term, char **text, size_t *len); bool term_ime_is_enabled(const struct terminal *term); void term_ime_enable(struct terminal *term); |
