aboutsummaryrefslogtreecommitdiffstats
path: root/lib/reline.rb
Commit message (Collapse)AuthorAgeFilesLines
* [ruby/reline] Check the ambiguous char width only on ttyNobuyoshi Nakada2022-06-131-1/+1
| | | | | | | | | It sent the char to check even to non-tty, e.g., pipe. This causes `unknown command: "\xE2\x96\xBDstart ` warnings on ruby's parallel test on Windows, where non-standard FDs cannot be passed to child processes. https://github.com/ruby/reline/commit/0d373647fb
* [ruby/reline] Finalize when exception occurredaycabta2021-12-211-1/+6
| | | | | | https://github.com/ruby/reline/commit/1f8a3aee43 Co-authored-by: Alex Gittemeier <me@a.lexg.dev>
* [ruby/reline] Split off set_signal_handler methodaycabta2021-12-211-0/+1
| | | | | | | | In some tests, the LineEditor#reset method is always called, but doesn't need to set the signal handlers there, so cuts it out to a separate method. https://github.com/ruby/reline/commit/b143c4f5f9
* [ruby/reline] Add support for overwriting dialog proc with the same nameaycabta2021-12-201-8/+6
| | | | https://github.com/ruby/reline/commit/16aa20c380
* [ruby/reline] Add Reline.dialog_proc(name_sym)aycabta2021-12-201-0/+7
| | | | https://github.com/ruby/reline/commit/7e5dbe4750
* [ruby/reline] Suppress warning, "instance variable @ambiguous_width not ↵aycabta2021-10-111-1/+1
| | | | | | initialized" https://github.com/ruby/reline/commit/368f7e2f78
* [ruby/reline] Refactoring Reline::Key.match? and add test.manga_osyo2021-10-021-13/+9
| | | | https://github.com/ruby/reline/commit/90e8999ae4
* [ruby/reline] Move #pointer from DialogRenderInfo to Dialogaycabta2021-09-101-2/+3
| | | | https://github.com/ruby/reline/commit/92dbac0bff
* [ruby/reline] Use Symbol for method namesaycabta2021-09-071-1/+1
| | | | https://github.com/ruby/reline/commit/479eee5393
* [ruby/reline] Limit number of chars only when completion source text ↵aycabta2021-09-061-1/+1
| | | | | | (pointer == -1) https://github.com/ruby/reline/commit/1d7b603811
* [ruby/reline] Cut out read_2nd_character_of_key_sequenceaycabta2021-09-061-27/+35
| | | | https://github.com/ruby/reline/commit/92518d1dee
* [ruby/reline] Use combined_key if it exists when comparing Reline::Key and ↵aycabta2021-09-061-1/+1
| | | | | | Integer https://github.com/ruby/reline/commit/8fca5f6f9c
* [ruby/reline] Allow Reline::KeyStroke to compare raw and meta-key processed ↵aycabta2021-09-061-2/+10
| | | | | | key sequences https://github.com/ruby/reline/commit/731103f9c9
* [ruby/reline] Support for key bindings result Symbol in Reline::Keyaycabta2021-09-061-1/+1
| | | | https://github.com/ruby/reline/commit/cf78a38064
* [ruby/reline] Add Reline::Key#== as an alias to Reline::Key#match?aycabta2021-09-061-0/+1
| | | | https://github.com/ruby/reline/commit/1fc3276c01
* [ruby/reline] Reline::Key supports the comparison with Integeraycabta2021-09-061-3/+15
| | | | https://github.com/ruby/reline/commit/ebc3e0f673
* [ruby/reline] Implement scrollbaraycabta2021-09-041-2/+2
| | | | https://github.com/ruby/reline/commit/4c7fc42151
* [ruby/reline] Show even if it's only one candidate until a perfect matchaycabta2021-09-041-1/+1
| | | | https://github.com/ruby/reline/commit/fe7e34e79f
* [ruby/reline] Add Reline::Key#match?aycabta2021-09-031-1/+7
| | | | https://github.com/ruby/reline/commit/8f6aa3af2e
* [ruby/reline] Autocompletion ignites when target char length is 3 or longeraycabta2021-09-031-1/+1
| | | | https://github.com/ruby/reline/commit/261830fda3
* [ruby/reline] Add a spaceaycabta2021-09-021-1/+1
| | | | https://github.com/ruby/reline/commit/3d70e07331
* [ruby/reline] Fix Reline::Unicode.take_range as it was not fully functionalaycabta2021-08-311-1/+1
| | | | https://github.com/ruby/reline/commit/5da6a8d851
* [ruby/reline] Pass "dialog" to context to get "dialog.scroll_top" lateraycabta2021-08-311-1/+1
| | | | https://github.com/ruby/reline/commit/d81f29a134
* [ruby/reline] Autocompletion dialog height 15aycabta2021-08-311-1/+1
| | | | https://github.com/ruby/reline/commit/7e18716754
* [ruby/reline] Scroll autocompletion pointer in dialog correctlyaycabta2021-08-311-1/+1
| | | | https://github.com/ruby/reline/commit/dc79ed2dd8
* [ruby/reline] Use DialogRenderInfo structaycabta2021-08-311-1/+2
| | | | https://github.com/ruby/reline/commit/ac6f652a39
* [ruby/reline] Fix Reline.autocompletion=() interfaceaycabta2021-08-301-0/+1
| | | | https://github.com/ruby/reline/commit/71c2eb143d
* [ruby/reline] Add Reline.autocompletion=() interfaceaycabta2021-08-301-0/+8
| | | | https://github.com/ruby/reline/commit/a2e69f6277
* [ruby/reline] Add autocompletion on emacs mode by Tab / S-Tabaycabta2021-08-301-0/+1
| | | | https://github.com/ruby/reline/commit/22d0b4e5d8
* [ruby/reline] Make autocomplete dialog is registered firstaycabta2021-08-291-2/+3
| | | | https://github.com/ruby/reline/commit/d027dbe118
* [ruby/reline] Delete show doc dialog to move it to IRBaycabta2021-08-291-37/+0
| | | | https://github.com/ruby/reline/commit/640102fe27
* [ruby/reline] Remove an unnecessary variableaycabta2021-08-291-1/+0
| | | | https://github.com/ruby/reline/commit/3b8cc5ce0a
* [ruby/reline] Remove dialog_proc_list accessor of Relineaycabta2021-08-291-1/+0
| | | | https://github.com/ruby/reline/commit/ac8fa84f4d
* [ruby/reline] Move constants of dialogs to under Relineaycabta2021-08-291-5/+5
| | | | https://github.com/ruby/reline/commit/9100ea2934
* [ruby/reline] Use default dialog context to communicate othersaycabta2021-08-291-4/+7
| | | | https://github.com/ruby/reline/commit/5e67e6ffe0
* [ruby/reline] Use colored doc output with ANSI escape sequenceaycabta2021-08-291-2/+2
| | | | https://github.com/ruby/reline/commit/7d1c75b43f
* [ruby/reline] Support custom bg coloraycabta2021-08-291-2/+2
| | | | https://github.com/ruby/reline/commit/cd0cbf53d5
* [ruby/reline] Show method or class doc correctlyaycabta2021-08-291-5/+20
| | | | https://github.com/ruby/reline/commit/a505294f12
* [ruby/reline] Implement doc display dialog in conjunction with autocompleteaycabta2021-08-291-1/+26
| | | | https://github.com/ruby/reline/commit/e97bbc4ccf
* [ruby/reline] Add the ability to handle context between dialogsaycabta2021-08-291-4/+4
| | | | https://github.com/ruby/reline/commit/063d9c70d9
* [ruby/reline] Support for multiple dialog renderingaycabta2021-08-291-6/+12
| | | | https://github.com/ruby/reline/commit/f589fab718
* [ruby/reline] Cut out the autocomplete callbackaycabta2021-08-291-31/+33
| | | | https://github.com/ruby/reline/commit/46aa2694da
* [ruby/reline] Implement dynamic selection of candidatesaycabta2021-08-291-3/+10
| | | | https://github.com/ruby/reline/commit/e46437df00
* [ruby/reline] Remove unnecessary conditionaycabta2021-08-291-5/+4
| | | | https://github.com/ruby/reline/commit/07e911ec8e
* [ruby/reline] Fix typoaycabta2021-08-291-1/+1
| | | | https://github.com/ruby/reline/commit/6370353c71
* [ruby/reline] Show autocomplete correctly when starts from prev lineaycabta2021-08-291-2/+6
| | | | https://github.com/ruby/reline/commit/f31a76ff31
* [ruby/reline] Display autocomplete below original line if end point was wrappedaycabta2021-08-291-1/+5
| | | | https://github.com/ruby/reline/commit/49f3392d59
* [ruby/reline] Implement dialog with autocomplete callbackaycabta2021-08-291-0/+24
| | | | https://github.com/ruby/reline/commit/1401d6165e
* [ruby/reline] Add require 'reline/terminfo' to use Reline::Terminfo.enabled?aycabta2021-07-301-0/+1
| | | | https://github.com/ruby/reline/commit/7ef9805b35
* Rescue conversion error of inputrcaycabta2021-06-211-0/+2
|