mirror of
https://gitea.com/gitea/tea.git
synced 2026-10-26 11:01:25 +01:00
fix: address verified review findings (terminal-forms-1)
Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
21 files changed
+329
-53
No files matched your search
@@ -59,7 +59,7 @@ func (p *FormPrompter) SelectPull(ctx context.Context, choices []MergePullChoice
|
||||
}
|
||||
selected := choices[0].Number
|
||||
err := p.runForm(ctx, huh.NewForm(huh.NewGroup(
|
||||
huh.NewSelect[int64]().Title("Pull request to merge:").Options(options...).Value(&selected),
|
||||
huh.NewSelect[int64]().Title("Pull request to merge:").Options(options...).Height(min(len(options), 10)+2).Value(&selected),
|
||||
)))
|
||||
return selected, err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user