2
2
zrcadlo https://github.com/Hilbis/Hilbish synchronizováno 2025-07-18 16:52:02 +00:00

fix(ansikit): define cursor consts

Tento commit je obsažen v:
TorchedSammy 2022-03-06 09:42:35 -04:00
rodič 29c1e29bb7
revize 4bb65572e4
Podepsáno: sammyette
ID GPG klíče: 904FC49417B44DCD

Zobrazit soubor

@ -1,8 +1,12 @@
-- We're basically porting Ansikit to lua
-- https://github.com/Luvella/AnsiKit/blob/master/lib/index.js
-- which is made by yours truly sammy :^)
local lunacolors = require 'lunacolors'
local ansikit = {}
local ansikit = {
blockCursor = 1,
blockCursorSteady = 2,
underlineCursor = 3,
underlineCursorSteady = 4,
lineCursor = 5,
lineCursorSteady = 6,
}
ansikit.clear = function(scrollback)
local typ = (scrollback and 3 or 2)