mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-21 16:05:02 +02:00
Start work on VT LineBuf in Go
This commit is contained in:
21
tools/vt/line.go
Normal file
21
tools/vt/line.go
Normal file
@@ -0,0 +1,21 @@
|
||||
package vt
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
)
|
||||
|
||||
var _ = fmt.Print
|
||||
|
||||
type PromptKind uint8
|
||||
|
||||
const (
|
||||
UNKNOWN_PROMPT_KIND PromptKind = iota
|
||||
PROMPT_START
|
||||
SECONDARY_PROMPT
|
||||
OUTPUT_START
|
||||
)
|
||||
|
||||
type Line struct {
|
||||
Cells []Cell
|
||||
Attrs LineAttrs
|
||||
}
|
||||
Reference in New Issue
Block a user