diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-09 22:07:33 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-09 22:07:52 +0300 |
| commit | 3a9888cd564dc45d23a7bdd0dba29a6ff1ef48a1 (patch) | |
| tree | 19a36f33ee5813220f70d7df7805c71c3b21f591 /src/api/mod.rs | |
| parent | c6d8d8351e67a183efda3aae4dc0986e9b1e9a48 (diff) | |
feat: add ansi pane read format
Diffstat (limited to 'src/api/mod.rs')
| -rw-r--r-- | src/api/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/api/mod.rs b/src/api/mod.rs index ff53e6ad..f256e4a8 100644 --- a/src/api/mod.rs +++ b/src/api/mod.rs @@ -415,6 +415,7 @@ fn wait_for_output( pane_id: params.pane_id.clone(), source: output_match_read_source(¶ms.source), lines: params.lines, + format: crate::api::schema::ReadFormat::Text, strip_ansi: params.strip_ansi, }), }; @@ -894,6 +895,7 @@ fn pane_read( pane_id: pane_id.to_string(), source, lines, + format: crate::api::schema::ReadFormat::Text, strip_ansi, }), }, @@ -1203,6 +1205,7 @@ mod tests { workspace_id: "ws_1".into(), tab_id: "tab_1".into(), source: crate::api::schema::ReadSource::RecentUnwrapped, + format: crate::api::schema::ReadFormat::Text, text: String::new(), revision: 0, truncated: false, |
