Skip to content

Commit

Permalink
Simplify prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
c12i committed Nov 22, 2024
1 parent d5824f0 commit 9479a26
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/scaffold/entry_type/fields.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,8 @@ pub fn choose_fields(
);

let selection = Select::with_theme(&ColorfulTheme::default())
.with_prompt(
"Do you want to proceed with the current entry type, modify or start again from the beginning?",
)
.item("Confirm")
.item("Modify")
.item("Restart")
.with_prompt("Do you want to proceed with the current entry type?")
.items(&["Confirm", "Modify", "Restart"])
.default(0)
.interact()?;

Expand Down

0 comments on commit 9479a26

Please sign in to comment.