mirror of
https://github.com/Maks1mS/bubbles.git
synced 2025-01-11 14:38:10 +03:00
Don't try and color placeholder text with color of ""
This commit is contained in:
parent
c1b503585d
commit
d012797c69
@ -128,7 +128,7 @@ func placeholderView(m Model) string {
|
||||
)
|
||||
|
||||
// Cursor
|
||||
if m.blink {
|
||||
if m.blink && m.PlaceholderColor != "" {
|
||||
v += cursor(
|
||||
termenv.String(p[:1]).
|
||||
Foreground(color(c)).
|
||||
|
Loading…
Reference in New Issue
Block a user