Skip to content

ANSITerm

[Source]

Handles ANSI escape codes from stdin.

actor tag ANSITerm

Constructors

create

[Source]

Create a new ANSI term.

new tag create(
  notify: ANSINotify iso,
  source: DisposableActor tag,
  timers: Timers tag = reference)
: ANSITerm tag^

Parameters

Returns


Public Behaviours

apply

[Source]

Receives input from stdin.

be apply(
  data: Array[U8 val] iso)

Parameters


prompt

[Source]

Pass a prompt along to the notifier.

be prompt(
  value: String val)

Parameters


size

[Source]

be size()

dispose

[Source]

Stop accepting input, inform the notifier we have closed, and dispose of our source.

be dispose()