Age | Commit message (Collapse) | Author |
|
|
|
https://github.com/ruby/reline/commit/3f6ea92268
|
|
https://github.com/ruby/reline/commit/9b209ee1ea
|
|
https://github.com/ruby/reline/commit/b545459fca
|
|
https://github.com/ruby/reline/commit/20fcd22564
|
|
Ruby 2.5 doesn't support "private alias_method" idiom but Ruby on Rails
6.x still support 2.5. 😢
This reverts commit https://github.com/ruby/reline/commit/0f075f562b9b.
https://github.com/ruby/reline/commit/4ecaa63b26
|
|
https://github.com/ruby/reline/commit/0f075f562b
|
|
https://github.com/ruby/reline/commit/2e46493aff
|
|
https://github.com/ruby/reline/commit/9fca6ceb45
|
|
"unix-line-discard"
https://github.com/ruby/reline/commit/da7af35d1f
|
|
unix-line-discard
https://github.com/ruby/reline/commit/586a48ffe0
|
|
https://github.com/ruby/reline/commit/9ab99574f5
|
|
https://github.com/ruby/reline/commit/ff278cdc88
|
|
https://github.com/ruby/reline/commit/182606c847
|
|
Even if the number of graphemes doesn't change owing to character
merging, the character width may increase.
https://github.com/ruby/reline/commit/fbcd5f56a7
|
|
When a halfwidth character is followed by a halfwidth dakuten or a
halfwidth handakuten character, it should be treated as a single
grapheme.
https://github.com/ruby/reline/commit/9f20b9ec28
|
|
https://github.com/ruby/reline/commit/d465667f57
|
|
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/7a758e73dc
|
|
https://github.com/ruby/reline/commit/ba97f3bd87
|
|
https://github.com/ruby/reline/commit/16aa20c380
|
|
https://github.com/ruby/reline/commit/4b7fa6b213
|
|
jruby needs terminal control with Windows API on classic console
https://github.com/ruby/reline/commit/b61bc43374
|
|
Windows Terminal does smart screen clearing when \e 2 J (not clear entire screen but scrolls down just needed)
On consoles not support sequences, ruby still converts it to API call.
https://github.com/ruby/reline/commit/c00930dab9
|
|
ScrollConsoleScreenBuffer can't scroll window of Windows Terminal.
Use LF to sctoll.
Microsoft says
```In the virtual terminal sequences world, the size of the window and the size of the screen buffer are fixed to the same value.
```
https://docs.microsoft.com/en-us/windows/console/window-and-screen-buffer-size
https://github.com/ruby/reline/commit/9ff3c70732
|
|
This reverts commit https://github.com/ruby/reline/commit/6009b3ef7ab7.
To merge a Pull Request...
https://github.com/ruby/reline/commit/83021f4267
|
|
This reverts commit https://github.com/ruby/reline/commit/1bb071bcf5a9.
To merge a Pull Request...
https://github.com/ruby/reline/commit/e9fe1b1305
|
|
When merged to ruby/ruby, reline.gemspec file is located under
lib/reline, as the same as reline/version.rb. That is the latter
path relative from the former differs from the ruby/reline case,
and the reline/version.rb in the default load path will be loaded.
Try `require_relative` not to load unexpected files.
https://github.com/ruby/reline/commit/54905d0e1b
|
|
https://github.com/ruby/reline/commit/dabf5313e0
|
|
https://github.com/ruby/reline/commit/7b50638e24
|
|
https://github.com/ruby/reline/commit/6009b3ef7a
|
|
https://github.com/ruby/reline/commit/1bb071bcf5
|
|
The number of lines below the cursor position was known by
"@rest_height" alone, but the problem was caused by adding
"lower_space". Remove "lower_space" as it is unnecessary.
https://github.com/ruby/reline/commit/a575cef6a3
|
|
https://github.com/ruby/reline/commit/06b4aa31fd
|
|
If Reline::IOGate.encoding contains 7-bit characters, convert-meta will set it On.
Because in readline(3):
> The default is On, but readline will set it to Off if the locale contains eight-bit characters.
As far as I know, 7-bit encoding used in terminals is only US-ASCII.
https://github.com/ruby/reline/commit/b71d1fa496
|
|
fix `#357`
When using 8-bit characters, it is better not to use `compress_meta_key`.
I believe not to use `compress_meta_key` unless `set convert-meta on` is written in the `.inputrc`.
The following is a quote from tmtm's comments.
> The behavior of this compress_meta_key method is similar to the behavior of convert-meta=on in readline, but readline turns off convert-meta if the locale contains 8bit characters.
> In readline(3):
> convert-meta (On)
> If set to On, readline will convert characters with the eighth
> bit set to an ASCII key sequence by stripping the eighth bit and
> prefixing it with an escape character (in effect, using escape
> as the meta prefix). The default is On, but readline will set
> it to Off if the locale contains eight-bit characters.
https://github.com/ruby/reline/commit/9491cc8542
Co-authored-by: TOMITA Masahiro <tommy@tmtm.org>
|
|
2700msec -> 410msec
read 80 console inputs at once
https://github.com/ruby/reline/commit/eb3ef7af98
|
|
https://github.com/ruby/reline/commit/074e407c62
|
|
support surrogate pair input
https://github.com/ruby/reline/commit/0b4acedc6a
|
|
fix 'https://github.com/ruby/reline/issues/300'
https://github.com/ruby/reline/commit/b2cc6805a8
|
|
Checked in the previous line.
https://github.com/ruby/reline/commit/bf774c0f2c
|
|
https://github.com/ruby/reline/commit/c07b0ace6a
|
|
fix https://github.com/ruby/reline/issues/384
If `$TERM` is `vt102`, there are no `kend`, `khome`, `civis`, or `cnorm` in capabilities.
`TerminfoError` is raised in `Reline::Terminfo.tigetstr(capname)`, so it is rescued if it does not exist.
https://github.com/ruby/reline/commit/c9f5112702
|
|
fix https://github.com/ruby/irb/issues/308
This bug occurred when `dialog.width - calculate_width(s, true)` was negative.
When `dialog.width` is shorter than `old_dialog.width`, it calculates how much padding it has to do. However, there are cases where `s` is longer than `dialog.width`, as in the issue. In that case, `padding_space_with_escape_sequences` will crash.
Here, `old_dialog.width` is longer than `dialog.width`, so I changed the padding width to `old_dialog.width - dialog.width`.
https://github.com/ruby/reline/commit/c581c31e0f
|
|
https://github.com/ruby/reline/commit/42edf7b3aa
|
|
This reverts commit 0dce9da083541f42c31822a91c72f339934c3986.
https://github.com/ruby/reline/commit/f71471cdde
|
|
https://github.com/ruby/reline/commit/0dce9da083
|
|
https://github.com/ruby/reline/commit/fe504bb6b9
|
|
https://github.com/ruby/reline/commit/5f3ccda3d5
|