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
|
// Cursor
|
||||||
if m.blink {
|
if m.blink && m.PlaceholderColor != "" {
|
||||||
v += cursor(
|
v += cursor(
|
||||||
termenv.String(p[:1]).
|
termenv.String(p[:1]).
|
||||||
Foreground(color(c)).
|
Foreground(color(c)).
|
||||||
|
Loading…
Reference in New Issue
Block a user