plan mode: show full plan before the exit prompt (claude ExitPlanMode via bridge, ask_user path)
This commit is contained in:
1 parent
36e99fc8af
commit
8a9d8fe607
6 files changed
+78
-6
No files matched your search
@@ -539,7 +539,12 @@ pub async fn run(setup: Setup) -> std::io::Result<()> {
|
||||
match u {
|
||||
Ui::Ask(q, reply) => app.ask = Some((q, reply)),
|
||||
Ui::Permit(r, reply) => app.perm = Some((permit_view::Prompt::new(r), reply)),
|
||||
Ui::Choose(q, reply) => app.choose = Some((choose::Choose::new(q), reply)),
|
||||
Ui::Choose(q, reply) => {
|
||||
if let Some(p) = &q.plan {
|
||||
app.t.push(Item::Plan(p.clone()));
|
||||
}
|
||||
app.choose = Some((choose::Choose::new(q), reply))
|
||||
}
|
||||
Ui::Ev(e) => {
|
||||
if let Event::SubUsage(u) = &e {
|
||||
app.st.usage.add(u);
|
||||
|
||||
Reference in new issue
Block a user