Spec-Zone.ru › 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

  • line: String val
  • prompt: Promise[String val] tag

Returns

  • None val

tab

[Source]

Return tab completion possibilities.

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

Parameters

  • line: String val

Returns

  • Seq[String val] box

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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API