From 062b257e8c5f4444ecc581b7d99bff98259d52d9 Mon Sep 17 00:00:00 2001 From: Raphael 'kena' Poss Date: Wed, 7 Sep 2022 22:05:25 +0200 Subject: [PATCH] fix(cursor): apply TextStyle inline (#230) Co-authored-by: Maas Lalani --- cursor/cursor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cursor/cursor.go b/cursor/cursor.go index 9ad445e..b365d77 100644 --- a/cursor/cursor.go +++ b/cursor/cursor.go @@ -201,7 +201,7 @@ func (m *Model) SetChar(char string) { // View displays the cursor. func (m Model) View() string { if m.Blink { - return m.TextStyle.Render(m.char) + return m.TextStyle.Inline(true).Render(m.char) } return m.Style.Inline(true).Reverse(true).Render(m.char) }