Age | Commit message (Collapse) | Author |
|
FILENAME_COMPLETION_PROC and USERNAME_COMPLETION_PROC are not used by Reline.
However, they were added for compatibility with the rb-readline gem.
These constants have been retained and comments added.
https://github.com/ruby/reline/commit/98fdbd3f18
|
|
These APIs/configs are not approved by the Ruby core, so they can't be
released to the public. This means having them in the codebase will
block other fixes/features from being released as well.
So this commit removes those exposed interfaces to unblock the release.
Hopefully when https://bugs.ruby-lang.org/issues/18996 is approved we
can re-implement better APIs.
https://github.com/ruby/reline/commit/f7a961c550
|
|
The "dumb" terminal is considered only on MSys tty now. However, the
`TERM` feature has been used on many Unix-like systems for decades,
not MSys specific.
https://github.com/ruby/reline/commit/53fd51ab62
|
|
"Pointer" is not what we usually use to describe a selected item.
"Highlight" is a more common word for the scenario so we should use it instead.
https://github.com/ruby/reline/commit/b4279d1557
|
|
As pointed out in the
[comment](https://github.com/ruby/reline/pull/413#issuecomment-1168033973),
the code is actually a control sequence and not only for colors.
To make the dialog color APIs safer to use, we should restrict its
usages and extract away the bg/fg concept from the input.
So in this commit, I made these changes:
1. The dialog_*_bg/fg_color APIs only takes and returns color names (symbol):
- :black
- :red
- :green
- :yellow
- :blue
- :magenta
- :cyan
- :white
2. Add additional dialog_*_bg/fg_color_sequence APIs to access the raw code.
https://github.com/ruby/reline/commit/b32a977766
|
|
(https://github.com/ruby/reline/pull/413)
https://github.com/ruby/reline/commit/bd49537964
|
|
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
|
|
https://github.com/ruby/reline/commit/1f8a3aee43
Co-authored-by: Alex Gittemeier <me@a.lexg.dev>
|
|
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
|
|
https://github.com/ruby/reline/commit/16aa20c380
|
|
https://github.com/ruby/reline/commit/7e5dbe4750
|
|
initialized"
https://github.com/ruby/reline/commit/368f7e2f78
|
|
https://github.com/ruby/reline/commit/90e8999ae4
|
|
https://github.com/ruby/reline/commit/92dbac0bff
|
|
https://github.com/ruby/reline/commit/479eee5393
|
|
(pointer == -1)
https://github.com/ruby/reline/commit/1d7b603811
|
|
https://github.com/ruby/reline/commit/92518d1dee
|
|
Integer
https://github.com/ruby/reline/commit/8fca5f6f9c
|
|
key sequences
https://github.com/ruby/reline/commit/731103f9c9
|
|
https://github.com/ruby/reline/commit/cf78a38064
|
|
https://github.com/ruby/reline/commit/1fc3276c01
|
|
https://github.com/ruby/reline/commit/ebc3e0f673
|
|
https://github.com/ruby/reline/commit/4c7fc42151
|
|
https://github.com/ruby/reline/commit/fe7e34e79f
|
|
https://github.com/ruby/reline/commit/8f6aa3af2e
|
|
https://github.com/ruby/reline/commit/261830fda3
|
|
https://github.com/ruby/reline/commit/3d70e07331
|
|
https://github.com/ruby/reline/commit/5da6a8d851
|
|
https://github.com/ruby/reline/commit/d81f29a134
|
|
https://github.com/ruby/reline/commit/7e18716754
|
|
https://github.com/ruby/reline/commit/dc79ed2dd8
|
|
https://github.com/ruby/reline/commit/ac6f652a39
|
|
https://github.com/ruby/reline/commit/71c2eb143d
|
|
https://github.com/ruby/reline/commit/a2e69f6277
|
|
https://github.com/ruby/reline/commit/22d0b4e5d8
|
|
https://github.com/ruby/reline/commit/d027dbe118
|
|
https://github.com/ruby/reline/commit/640102fe27
|
|
https://github.com/ruby/reline/commit/3b8cc5ce0a
|
|
https://github.com/ruby/reline/commit/ac8fa84f4d
|
|
https://github.com/ruby/reline/commit/9100ea2934
|
|
https://github.com/ruby/reline/commit/5e67e6ffe0
|
|
https://github.com/ruby/reline/commit/7d1c75b43f
|
|
https://github.com/ruby/reline/commit/cd0cbf53d5
|
|
https://github.com/ruby/reline/commit/a505294f12
|
|
https://github.com/ruby/reline/commit/e97bbc4ccf
|
|
https://github.com/ruby/reline/commit/063d9c70d9
|
|
https://github.com/ruby/reline/commit/f589fab718
|
|
https://github.com/ruby/reline/commit/46aa2694da
|
|
https://github.com/ruby/reline/commit/e46437df00
|
|
https://github.com/ruby/reline/commit/07e911ec8e
|