rustyline v2.0.0 Release Notes
Release Date: 2018-08-26 // over 5 years ago-
๐ฅ 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
byset_helper
, see impact on example. - Replace
get_history_const
byhistory
andget_history
byhistory_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)