Age | Commit message (Collapse) | Author |
|
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
|
|
https://github.com/ruby/reline/commit/de858ee1ac
|
|
The setting to use '::' instead of block elements.
https://github.com/ruby/reline/commit/4afbc98e2c
|
|
https://github.com/ruby/reline/commit/93bc9b5277
|
|
https://github.com/ruby/reline/commit/69e365edcc
|
|
Previous fix didn't show the cursor or dialogs. This allows the
dialogs to continue to work.
https://github.com/ruby/reline/commit/651c5f63cc
|
|
Fixes a crash in IRB if a dialog is displayed and the default
external encoding is not UTF-8:
/home/jeremy/tmp/reline/lib/reline/line_editor.rb:731:in `write': U+2588 from UTF-8 to US-ASCII (Encoding::UndefinedConversionError)
https://github.com/ruby/reline/commit/f570525ecd
|
|
https://github.com/ruby/reline/commit/972cc993ca
|
|
https://github.com/ruby/reline/commit/996bfec64b
|
|
https://github.com/ruby/reline/commit/5f4a75c7a0
|
|
https://github.com/ruby/reline/commit/df2a1b4e08
|
|
https://github.com/ruby/reline/commit/852e855d82
|
|
https://github.com/ruby/reline/commit/12ea63e6e0
|
|
https://github.com/ruby/reline/commit/1c6c0c82f0
|
|
https://github.com/ruby/reline/commit/b42c0980d9
|
|
Ruby 2.5
https://github.com/ruby/reline/commit/1b00cae0fd
|
|
https://github.com/ruby/reline/commit/b283791dc5
|
|
https://github.com/ruby/reline/commit/7fe9ecf945
|
|
If the argument prompt disappears when pasting is finished, rerender the
whole buffer.
https://github.com/ruby/reline/commit/996bbf8797
|
|
https://github.com/ruby/reline/commit/65b27dd2ff
|
|
https://github.com/ruby/reline/commit/481add0537
|
|
https://github.com/ruby/reline/commit/179c52bca8
|
|
https://github.com/ruby/reline/commit/737b23beae
|
|
https://github.com/ruby/reline/commit/da35902d78
|
|
The vi mode can handle "argument number" before an operator or a motion,
such as, "3x" (equals "xxx"), and "3l" (equals "lll"). In the emacs
mode, GNU Readline can handle argument number with meta key, like
"Meta+3 x" (equals "xxx").
https://github.com/ruby/reline/commit/9183cc2e8b
|
|
https://github.com/ruby/reline/commit/43b7c01a98
|
|
https://github.com/ruby/reline/commit/5936071940
|
|
This operation is mentioned and bound to `^U` in both `vi_command.rb`
and `vi_insert.rb`, but there is no definition of it.
Both Vi and Emacs use the same keystroke to do the same behavior, so
I've chosen to use `alias_method` to make the implementation small,
rather than duplicating the method and re-implementing it.
https://github.com/ruby/reline/commit/fdbfc8669f
|
|
https://github.com/ruby/reline/commit/d740e18cff
|
|
https://github.com/ruby/reline/commit/cbacb4c1cf
|
|
https://github.com/ruby/reline/commit/5f293b5127
|
|
https://github.com/ruby/reline/commit/45aa367616
|
|
follow #347
https://github.com/ruby/reline/commit/37453a83a3
|
|
@jhawthorn said, "this will make Ruby's integer comparisons slower
globally." It looks like "binding.irb" is going to cause serious
problems in Rails applications.
https://github.com/ruby/reline/commit/ee8d6c6a82
|
|
https://github.com/ruby/reline/commit/92dbac0bff
|