summaryrefslogtreecommitdiff
path: root/lib/reline
AgeCommit message (Collapse)Author
2021-04-09[ruby/reline] Add calling Reline::Config#reset_default_key_bindings to ↵aycabta
#reset, which is forgot to call
2021-04-08[ruby/reline] Moved development dependencies to GemfileNobuyoshi Nakada
As expressions in a gemspec file are evaluated at the build time, but not the run time, the conditional in the gemspec will not work as intended. https://github.com/ruby/reline/commit/c09b7c454a
2021-04-08[ruby/reline] Separate keystrokes each editing modeaycabta
https://github.com/ruby/reline/commit/ee23e6f3f8
2021-04-08[ruby/reline] Check WITH_VTERM env to add vterm gem as dependencyaycabta
https://github.com/ruby/reline/commit/27b689a7e2
2021-04-03[ruby/reline] Use vterm 0.0.5 or newer on Unix like OSes because suppresses SEGVaycabta
https://github.com/ruby/reline/commit/7562cf3b5f
2021-04-03[ruby/reline] Version 0.2.5aycabta
https://github.com/ruby/reline/commit/22ce5651e5
2021-04-02[ruby/reline] Reset @rest_height when clear screenaycabta
https://github.com/ruby/reline/commit/3a7019b0d5
2021-03-24[ruby/reline] Suppress crashing when completer_{quote,word_break}_characters ↵aycabta
is empty https://github.com/ruby/reline/commit/c6f1164942
2021-03-24[ruby/reline] Support preposing and postposing for Reline.completion_procaycabta
https://github.com/ruby/reline/commit/1f469de90c
2021-03-24[ruby/reline] Reline.delete_text removes the current line in multilineaycabta
https://github.com/ruby/reline/commit/da90c094a1
2021-02-26[ruby/reline] Version 0.2.4aycabta
https://github.com/ruby/reline/commit/462f971bd3
2021-02-22[ruby/reline] fix Reline::Windows.getconsolemode buffercremno
use double quotes to properly convert the \000 escape sequence. https://github.com/ruby/reline/commit/236dfe5683
2021-02-21[ruby/reline] Use UTF-8 only for width calc, rest uses original encodingaycabta
I confirmed that libvterm supports only which are UTF-8, US ASCII, UK, and DEC graphics by reading source code, so can't test this patch by yamatanoorogi gem through vterm gem for now. This fixes ruby/irb#190. https://github.com/ruby/reline/commit/44596c0cc7
2021-02-21[ruby/reline] check ENABLE_VIRTUAL_TERMINAL_PROCESSING flag and switch eof ↵Yoshinao Muramatu
processing https://github.com/ruby/reline/commit/3535676689
2021-02-21[ruby/reline] We still need support new and legacy behavior.Yoshinao Muramatu
Revert "Support for change in Windows-specific behavior at eol" This reverts commit cad4de6ee841b43f3f0e441626f9415c3eda0f82. https://github.com/ruby/reline/commit/646587fc2c
2021-02-21[ruby/reline] Avoid tripping over nil promptEamonn Webster
https://github.com/ruby/reline/commit/d4d9d3e3d4
2021-02-21[ruby/reline] Return 1 when char width not foundaycabta
This fixes ruby/reline#261. https://github.com/ruby/reline/commit/3cf1213014
2021-02-07[ruby/reline] Version 0.2.3aycabta
https://github.com/ruby/reline/commit/b26c7d60c8
2021-02-07[ruby/reline] Terminate correctly in the middle of lines higher than the screenaycabta
https://github.com/ruby/reline/commit/e1d9240ada
2021-02-07[ruby/reline] Autowrap correctly when inserting chars in the middle of a lineaycabta
https://github.com/ruby/reline/commit/ebaf37255f
2021-02-07[ruby/reline] The vi_histedit supports multilineaycabta
This closes ruby/reline#253. https://github.com/ruby/reline/commit/f131f86d71
2021-02-07[ruby/reline] Move cursor just after the last line when finishedaycabta
https://github.com/ruby/reline/commit/ba06e4c480
2021-02-07[ruby/reline] Update cursor info by inserting newline even if not in pastingaycabta
https://github.com/ruby/reline/commit/92d314f514
2021-02-07[ruby/reline] Handle past logs correctly when the code is higher than the screenaycabta
https://github.com/ruby/reline/commit/f197139b4a
2021-02-07[ruby/reline] Show all lines higher than the screen when finishedaycabta
On Unix-like OSes, logs prior to the screen are not editable. When the code is higher than the screen, the code is only shown on the screen until input is finished, but when it is finished, all lines are outputted. https://github.com/ruby/reline/commit/8cd9132a39
2021-02-07[ruby/reline] Scroll down when ^C is pressedaycabta
https://github.com/ruby/reline/commit/6877a7e3f5
2021-02-07[ruby/reline] Remove an unused variableaycabta
https://github.com/ruby/reline/commit/123ea51166
2021-02-07[ruby/reline] Initialize uninitialized variables in testsaycabta
https://github.com/ruby/reline/commit/25af4bb64b
2021-02-07[ruby/reline] Cache pasting state in processing a keyaycabta
Because it's too slow. The rendering time in IRB has been reduced as follows: start = Time.now def each_top_level_statement initialize_input catch(:TERM_INPUT) do loop do begin prompt unless l = lex throw :TERM_INPUT if @line == '' else @line_no += l.count("\n") next if l == "\n" @line.concat l if @code_block_open or @ltype or @continue or @indent > 0 next end end if @line != "\n" @line.force_encoding(@io.encoding) yield @line, @exp_line_no end break if @io.eof? @line = '' @exp_line_no = @line_no @indent = 0 rescue TerminateLineInput initialize_input prompt end end end end puts "Duration: #{Time.now - start} seconds" 0.22sec -> 0.14sec https://github.com/ruby/reline/commit/b8b3dd52c0
2021-01-18[ruby/irb] [ruby/irb] [ruby/reline] Version 0.2.2aycabta
https://github.com/ruby/reline/commit/dfb710946f https://github.com/ruby/irb/commit/1a1cdf9628 https://github.com/ruby/irb/commit/fe99faf8bd
2021-01-18[ruby/reline] Reline::Windows.erase_after_cursor erases attributes tooaycabta
https://github.com/ruby/reline/commit/68b961dfc7
2021-01-18[ruby/reline] Support for change in Windows-specific behavior at eolaycabta
The behavior of automatically moving the cursor to the next line when displaying a char at the eol on Windows suddenly disappeared. https://github.com/ruby/reline/commit/cad4de6ee8
2021-01-18[ruby/reline] Initialize a variable just in caseaycabta
https://github.com/ruby/reline/commit/29b10f6e98
2021-01-13[ruby/reline] Version 0.2.1aycabta
https://github.com/ruby/reline/commit/a3b3c6ee60
2021-01-13[ruby/reline] Move the cursor correctly when deleting at eolaycabta
This fixes ruby/reline#246. https://github.com/ruby/reline/commit/07a73ba601
2021-01-13[ruby/reline] Handle ed_search_{prev,next}_history in multiline correctlyaycabta
The current line was being handled incorrectly when displaying the hit history, so it has been fixed to be correct. https://github.com/ruby/reline/commit/a3df4343b3
2021-01-08[ruby/reline] Add acknowledgments and license for rb-readlineaycabta
https://github.com/ruby/reline/commit/19df59b916
2021-01-08[ruby/reline] Suppress auto indent for adding newlines in pastingaycabta
Co-authored-by: Juanito Fatas <me@juanitofatas.com> https://github.com/ruby/reline/commit/074bb017a7
2021-01-08[ruby/reline] Suppress crashing when dynamic_prompt_proc returns a broken ↵aycabta
prompt list Co-authored-by: Juanito Fatas <me@juanitofatas.com> https://github.com/ruby/reline/commit/558f7be168
2021-01-08[ruby/reline] Suppress crashing when auto_indent_proc returns broken indent infoaycabta
Co-authored-by: Juanito Fatas <me@juanitofatas.com> https://github.com/ruby/reline/commit/7c24276275
2021-01-08[ruby/reline] Correct var names in Reline were different from vi-*-mode-stringaycabta
https://github.com/ruby/reline/commit/8255fc93b9
2021-01-08[ruby/reline] Update cursor correctly when just cursor movingaycabta
This fixes ruby/reline#236 and ruby/reline#239. https://github.com/ruby/reline/commit/3e3c89d00b
2020-12-25[ruby/reline] 0.2.0aycabta
https://github.com/ruby/reline/commit/064664c8f9
2020-12-24[ruby/reline] Doesn't contain terminate spaces by cwaycabta
This closes ruby/reline#233. https://github.com/ruby/reline/commit/4c3f2e2eae
2020-12-24[ruby/reline] Use #bytesize for vi_replace_charaycabta
This closes ruby/reline#228. https://github.com/ruby/reline/commit/8205fa0b00
2020-12-24[ruby/reline] Delete the last char of a line by dwaycabta
This closes ruby/reline#229. https://github.com/ruby/reline/commit/3f0ae689c4
2020-12-24[ruby/reline] Suppress crashing when boken prompt_list is givenaycabta
https://github.com/ruby/reline/commit/922d087e7a
2020-12-24[ruby/reline] Discard prompt cache by changing mode iconaycabta
https://github.com/ruby/reline/commit/bfeda8a79b
2020-12-22[ruby/reline] Support isearch-terminatorsaycabta
https://github.com/ruby/reline/commit/a7922da16b
2020-12-22[ruby/reline] Render refreshed prompt just after i-search finishedaycabta
https://github.com/ruby/reline/commit/0d3188fe34