mirror of
https://github.com/usestrix/strix.git
synced 2026-08-28 05:25:00 +00:00
fix(tui): drop the shift+enter newline hint from the setup footer
This commit is contained in:
parent
23f1d76d4c
commit
754da8bcb8
1 changed files with 1 additions and 2 deletions
|
|
@ -496,8 +496,7 @@ func (m Model) setupHintsView(width int) string {
|
|||
key := lipgloss.NewStyle().Foreground(white).Render
|
||||
label := render.Dim().Render
|
||||
hint := func(k, text string) string { return key(k) + label(" "+text) }
|
||||
left := hint("enter", "launch scan") + label(" ") + hint("shift+enter", "newline") +
|
||||
label(" ") + hint("ctrl+c", "quit")
|
||||
left := hint("enter", "launch scan") + label(" ") + hint("ctrl+c", "quit")
|
||||
if lipgloss.Width(left) > inner {
|
||||
left = hint("enter", "launch scan")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue