Skip to content

ANSINotify

[Source]

Receive input from an ANSITerm.

interface ref ANSINotify

Public Functions

apply

[Source]

fun ref apply(
  term: ANSITerm ref,
  input: U8 val)
: None val

Parameters

Returns


up

[Source]

fun ref up(
  ctrl: Bool val,
  alt: Bool val,
  shift: Bool val)
: None val

Parameters

Returns


down

[Source]

fun ref down(
  ctrl: Bool val,
  alt: Bool val,
  shift: Bool val)
: None val

Parameters

Returns


left

[Source]

fun ref left(
  ctrl: Bool val,
  alt: Bool val,
  shift: Bool val)
: None val

Parameters

Returns


[Source]

fun ref right(
  ctrl: Bool val,
  alt: Bool val,
  shift: Bool val)
: None val

Parameters

Returns


delete

[Source]

fun ref delete(
  ctrl: Bool val,
  alt: Bool val,
  shift: Bool val)
: None val

Parameters

Returns


insert

[Source]

fun ref insert(
  ctrl: Bool val,
  alt: Bool val,
  shift: Bool val)
: None val

Parameters

Returns


home

[Source]

fun ref home(
  ctrl: Bool val,
  alt: Bool val,
  shift: Bool val)
: None val

Parameters

Returns


end_key

[Source]

fun ref end_key(
  ctrl: Bool val,
  alt: Bool val,
  shift: Bool val)
: None val

Parameters

Returns


page_up

[Source]

fun ref page_up(
  ctrl: Bool val,
  alt: Bool val,
  shift: Bool val)
: None val

Parameters

Returns


page_down

[Source]

fun ref page_down(
  ctrl: Bool val,
  alt: Bool val,
  shift: Bool val)
: None val

Parameters

Returns


fn_key

[Source]

fun ref fn_key(
  i: U8 val,
  ctrl: Bool val,
  alt: Bool val,
  shift: Bool val)
: None val

Parameters

Returns


prompt

[Source]

fun ref prompt(
  term: ANSITerm ref,
  value: String val)
: None val

Parameters

Returns


size

[Source]

fun ref size(
  rows: U16 val,
  cols: U16 val)
: None val

Parameters

Returns


closed

[Source]

fun ref closed()
: None val

Returns