diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-11-28 10:27:50 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-11-28 10:27:50 +0000 |
| commit | 82ca4851dfd5d346a1b13e52e074893afb62e0d5 (patch) | |
| tree | 6ede66b0952e32fdea8f0924460a88755069b2a8 /src/bin/ngit | |
| parent | d1488fad3a89ef026c968c30766144a56528f11d (diff) | |
fix(list): default to first PR menu item
because feedback was recieved that it doesnt appear like a menu
Diffstat (limited to 'src/bin/ngit')
| -rw-r--r-- | src/bin/ngit/sub_commands/list.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/ngit/sub_commands/list.rs b/src/bin/ngit/sub_commands/list.rs index 1e8ecc4..60f8e46 100644 --- a/src/bin/ngit/sub_commands/list.rs +++ b/src/bin/ngit/sub_commands/list.rs | |||
| @@ -162,6 +162,7 @@ pub async fn launch() -> Result<()> { | |||
| 162 | let selected_index = Interactor::default().choice( | 162 | let selected_index = Interactor::default().choice( |
| 163 | PromptChoiceParms::default() | 163 | PromptChoiceParms::default() |
| 164 | .with_prompt(prompt) | 164 | .with_prompt(prompt) |
| 165 | .with_default(0) | ||
| 165 | .with_choices(choices.clone()), | 166 | .with_choices(choices.clone()), |
| 166 | )?; | 167 | )?; |
| 167 | 168 | ||