[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