Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 431 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 431 Bytes

rust-readline

Simple wrapper around readline for the Rust language

Exposes:

  • add_history(line: &str)
  • history() -> Vec<String>
  • history_expand(input: &str) -> Result<Option<String>, String>
  • history_is_stifled() -> bool
  • stifle_history(n: i32)
  • unstifle_history() -> i32
  • readline(prompt: &str) -> Option<String>

A Gitter channel is available.