Skip to content

armgit / strix

Public Imported from GitHub
0

Open-source AI penetration testing tool to find and fix your app’s vulnerabilities.

fix(tui): drop the shift+enter newline hint from the setup footer

Ahmed Allam6f70b6f319f3
diff --git a/strix/interface/tui/internal/app/setup.go b/strix/interface/tui/internal/app/setup.go
index 8fb7362e..ec3b1361 100644
--- a/strix/interface/tui/internal/app/setup.go
+++ b/strix/interface/tui/internal/app/setup.go
@@ -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")
}