Releases: I3oris/reply
Releases · I3oris/reply
v0.3.1
RELPy v0.3.1
Bug fixs
- Fix
REPLyon Mac, caused by a wrong implementation ofioctl. Remake entirely the implementation ofReply::Term::Sizein a more portable way. Inspired by (https://github.com/crystal-term/screen/blob/master/src/term-screen.cr.)
Internals
- Compute the term-size only once for each input. Fix slow performance when the size is taken from
tput(ifioctlfails). - Fix spec on windows due to '\n\r'.
- Fix typo ('p' was duplicate in 'dupplicate').
v0.3.0
RELPy v0.3.0
New features
- Windows support: REPLy is now working on Windows 10.
All features expect to work like linux except the key binding 'alt-enter'
that becomes 'ctrl-enter' on windows. - Implement saving history in a file.
- Add
Reader#history_filewhich allow to specify the file location. - Add
History#max_size=which allow to change the history max size. (default: 10_000)
- Add
Internals
- Windows: use
GetConsoleScreenBufferInfoforTerm::SizeandReadConsoleAfor
read_char. - Windows: Disable some specs on windows.
- Small refactoring on
colorized_lines. - Refactor: Remove unneeded ivar
@max_prompt_size. - Improve performances for
move_cursor_to. - Remove unneeded ameba exception.
- Remove useless printing of
Term::Cursor.showat exit.
v0.2.1
RELPy v0.2.1
Bug fixs
- Reduce blinking on ws-code (computation are now done before clearing the screen). Disallow
syncandflush_on_newlineduringupdatewhich help to reduce blinking too, (ic#10), thanks @cyangle! - Align the expression when prompt size change (e.g. line number increase), which avoid a cursor bug in this case.
- Fix wrong history index after submitting an empty entry.
Internal
- Write spec to avoid bug with autocompletion with '=' characters (ic#11), thanks @cyangle!
v0.2.0
RELPy v0.2.0
New features
- BREAKING CHANGE:
word_delimitersis now aArray(Char)property instead ofRegexto return in a overridden function. ctrl-n,ctrl-pkeybinding for navigate histories (#1), thank @zw963!delete_after,delete_before(ctrl-k,ctrl-u) (#2), thank @zw963!move_word_forward,move_word_backward(alt-f/ctrl-right,alt-b/ctrl-left) (#2), thank @zw963!delete_word,word_back(alt-backspace/ctrl-backspace,alt-d/ctrl-delete) (#2), thank @zw963!deleteoreofonctrl-d(#2), thank @zw963!- Bind
ctrl-b/ctrl-fwith move cursor backward/forward (#2), thank @zw963!.
Bug fixs
Internal
- Refactor: move word functions (
delete_word,move_word_forward, etc.) fromReaderto theExpressionEditor. - Add this CHANGELOG.