W3cubDocs

/Pony

ReadlineNotify

[Source]

Notifier for readline.

interface ref ReadlineNotify

Public Functions

apply

[Source]

Receives finished lines. The next prompt is set by fulfilling the promise. If the promise is rejected, readline will stop handling input.

fun ref apply(
  line: String val,
  prompt: Promise[String val] tag)
: None val

Parameters

Returns

tab

[Source]

Return tab completion possibilities.

fun ref tab(
  line: String val)
: Seq[String val] box

Parameters

Returns

© 2016-2018, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/term-ReadlineNotify