mirror of
https://github.com/Maks1mS/bubbles.git
synced 2025-10-10 14:16:41 +03:00
Don't try and color placeholder text with color of ""
This commit is contained in:
@@ -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)).
|
||||||
|
Reference in New Issue
Block a user