fix: added toggle prompts in popup windows

This commit is contained in:
Hayden Hargreaves 2026-04-15 12:37:39 -07:00
parent 958fc7308a
commit d26d812d3c

View File

@ -111,9 +111,10 @@ func (m Model) renderEventsPane(w, h int) []string {
events = events[len(events)-displayCount:] events = events[len(events)-displayCount:]
} }
lines := []string{ left := fmt.Sprintf("EVENT LOG - %d EVENTS", len(events))
fmt.Sprintf("EVENT LOG - %d EVENTS", len(events)), right := "E: TOGGLE"
} status := left + strings.Repeat(" ", w-len(left+right)) + right
lines := []string{status}
for _, event := range events { for _, event := range events {
line := fmt.Sprintf( line := fmt.Sprintf(
@ -161,9 +162,10 @@ func (m Model) renderStdPane(w, h int) []string {
logs = logs[len(logs)-displayCount:] logs = logs[len(logs)-displayCount:]
} }
lines := []string{ left := fmt.Sprintf("STDOUT/STDERR LOG - %d LINES", len(logs))
fmt.Sprintf("STDOUT/STDERR LOG - %d LINES", len(logs)), right := "O: TOGGLE"
} status := left + strings.Repeat(" ", w-len(left+right)) + right
lines := []string{status}
for _, log := range logs { for _, log := range logs {
var t string var t string