Releases: kkawakam/rustyline
Releases · kkawakam/rustyline
4.1.0
4.0.0
Breaking Changes
- Introduce
Context
which gives history access for completion/suggestion. - Update
nix
dependency to 0.13
Changelog
- Suggestion based on history:
HistoryHinter
- Support bracketed paste mode on unix
Editor::dimensions
returns terminal size (#204)- Feature toggle dirs to legacy support (#195)
- Fix bug in
HistoryHinter
whenctx.history_index()
is 0 (#186) - Fix
\t
rendering width (#65)
3.0.0
Breaking Changes
- fix
highlight_char
signature - remove
highlight_dynamic_prompt
deprecated method
Changelog
- Add support for matching delimiter blinking (#111)
- Ensure
Editor
isSend
andSync
. (#160) - Complete hints with the right key
- Allow customisation of the output stream
- Ignore all IO errors during file completion
- Fix spelling in documentation
- Apply clippy::pedantic suggestions
- Fix hint display logic
- Simplify surrogate pair handling on windows
- Rust 2018 edition
2.1.0
2.0.1
Version 2.0.0
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)
Version 1.0.0
Breaking Changes
You will need to explicitly parametrizing the Editor if there is no completer.
Before you would do the following (if you did not specify a completer):
let mut rl = Editor::new();
Now you will have to do the following (if you did not specify a completer):
let mut rl = Editor::<()>::new();
Changelog
- Fix compilation against musl #41
- Fix mult-line prompts #45
- History if configurable to ignore spaces and/or duplicate entries #51
- Parametrize the editor by the Completer type #52
- Clear only the lines/rows drawn used by the editor #53
- Windows support #42 #54 #69
Thank you to @gwenn for his work