fix(ansi): annotate highlights too

This commit is contained in:
Barrett Ruth 2025-10-02 14:20:26 -04:00
parent 1974addbd2
commit db98153b11
4 changed files with 10 additions and 4 deletions

View file

@ -1,6 +1,12 @@
---@class AnsiParseResult
---@field lines string[]
---@field highlights any[]
---@field highlights Highlight[]
---@class Highlight
---@field line number
---@field col_start number
---@field col_end number
---@field highlight_group string
local M = {}