From 39975a678765ad4fe2a924eca8632ffb87edf798 Mon Sep 17 00:00:00 2001 From: Tyler Koenig Date: Tue, 19 May 2026 21:01:26 -0400 Subject: [PATCH] chore(tui): remove dead formatPreviewEntity function --- internal/tui/input.go | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/internal/tui/input.go b/internal/tui/input.go index 786b8eb..52027ff 100644 --- a/internal/tui/input.go +++ b/internal/tui/input.go @@ -1,7 +1,6 @@ package tui import ( - "fmt" "strings" "github.com/charmbracelet/bubbles/textinput" @@ -175,16 +174,3 @@ func glyphForParsed(glyph string) string { func drawerLines() int { return 3 } - -// formatPreviewEntity builds a preview string showing how the entity will appear -func formatPreviewEntity(p *parse.Result) string { - if p == nil { - return "" - } - glyph := glyphForParsed(p.Glyph) - body := p.Body - if p.Title != nil { - body = *p.Title - } - return fmt.Sprintf("%s %s", glyph, body) -}