Skip to content

ANSINotify

[Source]

interface ref ANSINotify is
  TerminalNotify ref

Implements


Public Functions

apply

[Source]

fun ref apply(
  term: Terminal 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: Terminal 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


mouse_release

[Source]

fun ref mouse_release(
  button: (LeftMouseButton val | MiddleMouseButton val | RightMouseButton val | 
    UnknownMouseButton val),
  ctrl: Bool val,
  alt: Bool val,
  shift: Bool val,
  x: U32 val,
  y: U32 val)
: None val

Parameters

Returns


mouse_press

[Source]

fun ref mouse_press(
  button: (LeftMouseButton val | MiddleMouseButton val | RightMouseButton val | 
    UnknownMouseButton val),
  ctrl: Bool val,
  alt: Bool val,
  shift: Bool val,
  x: U32 val,
  y: U32 val)
: None val

Parameters

Returns


mouse_move

[Source]

fun ref mouse_move(
  ctrl: Bool val,
  alt: Bool val,
  shift: Bool val,
  x: U32 val,
  y: U32 val)
: None val

Parameters

Returns


mouse_drag

[Source]

fun ref mouse_drag(
  button: (LeftMouseButton val | MiddleMouseButton val | RightMouseButton val | 
    UnknownMouseButton val),
  ctrl: Bool val,
  alt: Bool val,
  shift: Bool val,
  x: U32 val,
  y: U32 val)
: None val

Parameters

Returns


mouse_wheel

[Source]

fun ref mouse_wheel(
  direction: (ScrollUp val | ScrollDown val),
  ctrl: Bool val,
  alt: Bool val,
  shift: Bool val,
  x: U32 val,
  y: U32 val)
: None val

Parameters

Returns