Fix typo in 'placeholder'

This commit is contained in:
Christian Muehlhaeuser 2020-04-17 20:38:28 +02:00
parent ec0559f2d5
commit 64c8cd27ae
No known key found for this signature in database
GPG Key ID: 3CF9FA45CA1EBB7E

View File

@ -193,7 +193,7 @@ func placeholderView(m Model) string {
v += cursorView(p[:1], m) v += cursorView(p[:1], m)
} }
// The rest of the palceholder text // The rest of the placeholder text
v += m.colorPlaceholder(p[1:]) v += m.colorPlaceholder(p[1:])
return m.Prompt + v return m.Prompt + v