Skip to content

Version 2.0.0

Compare
Choose a tag to compare
@gwenn gwenn released this 26 Aug 11:26
· 1141 commits to master since this release
9243ec5

Breaking Changes

  • add_history_line could take a Into (#77)
    rl.add_history_entry(&line); => rl.add_history_entry(line.as_ref());, see impact on example.
  • Introduce Config struct, see first and final impacts on example.
  • Replace set_completer by set_helper, see impact on example.
  • Replace get_history_const by history and get_history by history_mut.
  • Introduce Candidate trait, see impact on example.

Changelog

  • Page completions
  • Doc (#80)
  • Add an Iterator (#82)
  • Make History iterable
  • Fix completion (#95)
  • Handle single ESC key (#66)
  • Fix autocomplete cancel
  • Fix insecure history file creation
  • Fix Ctrl-Z (#20)
  • Vi mode support (#94)
  • Add get_history_const() function
  • Numeric arguments (RepeatCount)
  • Move cursor by grapheme not by char (#107)
  • Undos (#60)
  • Make possible to customize key bindings (#115)
    0a909f7#diff-9cbba383e150da18cf46e47c7a49189fR30
  • Optimize cursor movement (#59)
  • Vi overwrite mode
  • Support additional keys (Function keys, Control+Arrow key, Shift+Arrow key, Insert key)
  • Support initial input (readline_with_initial)
  • Add auto_add_history config flag
  • Hints support (#67)
  • Fix multi-line prompts clearing too many lines
  • Dynamic prompt (arg: ?)
  • Enable ansi colors on windows (windows 10 only)
  • Fix compilation error on FreeBSD (#129)
  • File completion: handle quoted path
  • Upgrade dependencies
  • Fix windows file completion (#106, #113, #136)
  • Highlight support (#111, #114)
  • Modify Editor Config (#137)