~ghost08/tcell-term

506bcba1a15166b119adceea0475cbcbcded2e4a — Tim Culverhouse 2 years ago 12e2388
cursor: reorder cursor shapes to match tcell

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>
1 files changed, 2 insertions(+), 2 deletions(-)

M termutil/buffer.go
M termutil/buffer.go => termutil/buffer.go +2 -2
@@ 12,8 12,8 @@ const TabSize = 8
type CursorShape uint8

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