ANSITerm¶
Handles ANSI escape codes from stdin.
actor tag ANSITerm
Constructors¶
create¶
Create a new ANSI term.
new tag create(
notify: ANSINotify iso,
source: DisposableActor tag,
timers: Timers tag = reference)
: ANSITerm tag^
Parameters¶
- notify: ANSINotify iso
- source: DisposableActor tag
- timers: Timers tag = reference
Returns¶
- ANSITerm tag^
Public Behaviours¶
apply¶
Receives input from stdin.
be apply(
data: Array[U8 val] iso)
Parameters¶
prompt¶
Pass a prompt along to the notifier.
be prompt(
value: String val)
Parameters¶
- value: String val
size¶
be size()
dispose¶
Stop accepting input, inform the notifier we have closed, and dispose of our source.
be dispose()