diff options
Diffstat (limited to 'src/api/schema')
| -rw-r--r-- | src/api/schema/panes.rs | 2 | ||||
| -rw-r--r-- | src/api/schema/tests.rs | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/api/schema/panes.rs b/src/api/schema/panes.rs index 6cbcaf43..67d5185e 100644 --- a/src/api/schema/panes.rs +++ b/src/api/schema/panes.rs @@ -535,6 +535,8 @@ pub struct PaneInfo { #[serde(default, skip_serializing_if = "Option::is_none")] pub foreground_cwd: Option<String>, #[serde(default, skip_serializing_if = "Option::is_none")] + pub restore_error: Option<String>, + #[serde(default, skip_serializing_if = "Option::is_none")] pub label: Option<String>, #[serde(default, skip_serializing_if = "Option::is_none")] pub agent: Option<String>, diff --git a/src/api/schema/tests.rs b/src/api/schema/tests.rs index d51c565d..4f15b322 100644 --- a/src/api/schema/tests.rs +++ b/src/api/schema/tests.rs @@ -825,6 +825,7 @@ fn worktree_request_and_response_round_trip() { focused: true, cwd: Some("/worktrees/herdr/worktree-api".into()), foreground_cwd: None, + restore_error: None, label: None, agent: None, title: None, @@ -1253,6 +1254,7 @@ fn create_response_round_trips_with_root_pane() { focused: false, cwd: Some("/tmp/review".into()), foreground_cwd: None, + restore_error: None, label: None, agent: None, title: None, |
