~ghost08/tcell-term

tcell-term: cursor: reorder cursor shapes to match tcell v1 PROPOSED

Tim Culverhouse: 1
 cursor: reorder cursor shapes to match tcell

 1 files changed, 2 insertions(+), 2 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~ghost08/tcell-term/patches/35201/mbox | git am -3
Learn more about email & git

[PATCH tcell-term] cursor: reorder cursor shapes to match tcell Export this patch

CursorStyleDefault and CursorStyleBlinkingBlock were reversed in the
iota order as compared to tcell. Fix the order to match tcell.

Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
---
 termutil/buffer.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/termutil/buffer.go b/termutil/buffer.go
index f7a397d025bf..2c855e53be24 100644
--- a/termutil/buffer.go
+++ b/termutil/buffer.go
@@ -12,8 +12,8 @@ const TabSize = 8
type CursorShape uint8

const (
	CursorShapeBlinkingBlock CursorShape = iota
	CursorShapeDefault
	CursorShapeDefault CursorShape = iota
	CursorShapeBlinkingBlock
	CursorShapeSteadyBlock
	CursorShapeBlinkingUnderline
	CursorShapeSteadyUnderline
-- 
2.37.3