Age | Commit message (Collapse) | Author |
|
https://github.com/ruby/reline/commit/788f0df845
|
|
|
|
The previous detection per get_screen_size fails when stdout is passed
to a pipe. That is the case when running ruby tests in parallel ("-j" switch).
In this case Reline believes that it's running on MinTTY and the tests
are running with ANSI IOGate instead of the Windows adapter on MINGW.
So parallel test results were different to that of a single process.
This commit fixes these differencies.
The code is taken from git sources and translated to ruby.
NtQueryObject() is replaced by GetFileInformationByHandleEx(), because
NtQueryObject() is undocumented and is more difficult to use:
https://github.com/git-for-windows/git/blob/c5a03b1e29c69f3f06c8fabd92493edb73469176/compat/winansi.c#L558
Notes:
Merged: https://github.com/ruby/ruby/pull/2848
|
|
https://github.com/ruby/reline/commit/8538e0e10f
|
|
https://github.com/ruby/reline/commit/0ad3ee63fa
|
|
https://github.com/ruby/reline/commit/066ecb0a21
|
|
|
|
The command prompt on Windows always uses Unicode to take input and print
output but most Reline implementation depends on Encoding.default_external.
This commit introduces an abstracted structure about the encoding of Reline.
|
|
|
|
def foo
''.upca[TAB]
This will be completed to be:
def foo
''.upcase
The indent was gone. This commit fixes the bug.
|
|
If C-d is pressed before IRB is ready, IRB crashes because EOFError occurs.
|
|
#### Legacy mode:
```console
$ irb --legacy
irb(main):001:0> l[TAB][TAB]
lambda load local_variables loop
```
#### Before this patch:
```console
$ irb
irb(main):001:0> l[TAB][TAB]
local_variables
loop
lambda
load
```
#### After this patch:
```console
$ irb
irb(main):001:0> l[TAB][TAB]
lambda
load
local_variables
loop
```
https://github.com/ruby/reline/commit/6074069c7d
|
|
unknown
This is a workaround for https://github.com/ruby/irb/issues/50
https://github.com/ruby/reline/commit/5725677d1a
|
|
|
|
https://github.com/ruby/reline/commit/b41024e317
|
|
|
|
https://github.com/ruby/reline/commit/923f97d068
|
|
|
|
|
|
|
|
It doesn't behave the same as the delete-char.
|
|
https://github.com/ruby/reline/commit/55d4dfec1e
|
|
https://github.com/ruby/reline/commit/be17740e82
|
|
|
|
https://github.com/ruby/reline/commit/e98ad3b486
|
|
|
|
The old version of cursor_pos discards the input buffer, which made IRB
ignore the input immediately after IRB is invoked.
This change keeps the input before cursor_pos by using ungetc.
https://github.com/ruby/reline/commit/4a8cca331f
|
|
https://github.com/ruby/reline/commit/b111cde3c3
|
|
Fixed misspellings reported at [Bug #16437], for default gems.
|
|
|
|
|
|
There is already the possibility to set Reline.completion_append_character.
However, it is not used by the line editor.
https://github.com/ruby/reline/commit/ab798931b9
|
|
Including dsusp, lnext, and so on.
https://github.com/ruby/reline/commit/a44abe586b
|
|
|
|
|
|
IRB should show a menu first if a completed list has plural items. But just
shows document without menu if a completed list with plural items includes a
perfect matched item. The behavior is a bug. This commit fixes it.
|
|
|
|
|
|
|
|
|
|
Reline performs completion in a case-insensitive fashon if
Readline.completion_case_fold or completion-ignore-case of .inputrc are set
"on".
|
|
|
|
https://github.com/ruby/reline/commit/33e8c8f15b
|
|
|
|
|
|
|
|
In the incremental search by C-r, search word is saved when it's determined. In
the next incremental search by C-r, if a user presses C-r again with the empty
search word, the determined previous search word is used to search.
|
|
|
|
|
|
|