Now that I made HeadlessTerminal public, as I need it for fuzzing, perhaps I should surface more information about the contents of the screen and make a handful of internal classes public.
APIs to surface:
Saving:
[ ] save (to: URL, format: SaveFormat = .txt)
Accessing content"
[ ] cols/rows
[ ] cursorLeft/cursorTop
[ ] scrollRegion/marginRegion
[ ] getCell (line: Int, col: Int) -> CharData
[ ] getText (line: Int)
[ ] getAttributedText (line: Int) -> [CharData]
Writing to the screen, some basic operations, could surface more:
Now that I made HeadlessTerminal public, as I need it for fuzzing, perhaps I should surface more information about the contents of the screen and make a handful of internal classes public.
APIs to surface:
Saving:
Accessing content"
Writing to the screen, some basic operations, could surface more:
Record input/output: