Skip to content

Commit

Permalink
chore: update overflow verbiage
Browse files Browse the repository at this point in the history
  • Loading branch information
PhearZero committed Dec 2, 2024
1 parent ab4a8be commit 3d6f9b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/style/style.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func WithOverlay(overlay string, view string) string {

// Display the terminal resize
if col < 0 || row < 0 {
overlayText := "Resize terminal to see overlay"
overlayText := "Resize terminal to see content"
overlay = WithNavigation("( esc )", WithTitle("Screen Size",
ApplyBorder(
lipgloss.Width(overlayText)+4,
Expand Down
2 changes: 1 addition & 1 deletion ui/style/style_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func Test_WithStyles(t *testing.T) {
}

render = WithOverlay("Overflow the container with additional text which should result in a different message", testStr)
if render != "Resize terminal to see overlay" {
if render != "Resize terminal to see content" {
t.Error("Should be empty")
}
}

0 comments on commit 3d6f9b9

Please sign in to comment.