You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
clear ()
setColor (...)
setCursorPosition (...)
write (str)
getRegionText (...) -> [String]
Record input/output:
setOutputRecorder (...)
setInputRecorder (...)
The text was updated successfully, but these errors were encountered:
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:
The text was updated successfully, but these errors were encountered: