<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/reline/key_stroke.rb, branch v3_2_11</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/reline] Execute compress_meta_key if convert_meta is on</title>
<updated>2021-12-10T13:19:14+00:00</updated>
<author>
<name>ima1zumi</name>
<email>mariimaizumi5@gmail.com</email>
</author>
<published>2021-11-22T12:16:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=519a945efcb0205bdf4085e32cc76e56610a45c0'/>
<id>519a945efcb0205bdf4085e32cc76e56610a45c0</id>
<content type='text'>
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.

&gt; 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.

&gt; In readline(3):

&gt; convert-meta (On)
&gt; If set to On, readline will convert characters with the eighth
&gt; bit set to an ASCII key sequence by stripping the eighth bit and
&gt; prefixing it with an escape character (in effect, using escape
&gt; as the meta prefix). The default is On, but readline will set
&gt; it to Off if the locale contains eight-bit characters.

https://github.com/ruby/reline/commit/9491cc8542

Co-authored-by: TOMITA Masahiro &lt;tommy@tmtm.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.

&gt; 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.

&gt; In readline(3):

&gt; convert-meta (On)
&gt; If set to On, readline will convert characters with the eighth
&gt; bit set to an ASCII key sequence by stripping the eighth bit and
&gt; prefixing it with an escape character (in effect, using escape
&gt; as the meta prefix). The default is On, but readline will set
&gt; it to Off if the locale contains eight-bit characters.

https://github.com/ruby/reline/commit/9491cc8542

Co-authored-by: TOMITA Masahiro &lt;tommy@tmtm.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] Remove unused using method</title>
<updated>2021-09-14T13:28:50+00:00</updated>
<author>
<name>ima1zumi</name>
<email>mariimaizumi5@gmail.com</email>
</author>
<published>2021-09-13T05:51:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=616d6717589abb30a5c67c79cbf874693c3dadbd'/>
<id>616d6717589abb30a5c67c79cbf874693c3dadbd</id>
<content type='text'>
follow #347

https://github.com/ruby/reline/commit/37453a83a3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
follow #347

https://github.com/ruby/reline/commit/37453a83a3
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] Use expanded method definitions instead of refinements</title>
<updated>2021-09-12T20:15:47+00:00</updated>
<author>
<name>aycabta</name>
<email>aycabta@gmail.com</email>
</author>
<published>2021-09-12T19:04:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8de53fb31cd7491c31c56db6a01c5cab40d25e4b'/>
<id>8de53fb31cd7491c31c56db6a01c5cab40d25e4b</id>
<content type='text'>
@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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
@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
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] No need to use max_by when array.size == 1</title>
<updated>2021-09-05T20:23:55+00:00</updated>
<author>
<name>aycabta</name>
<email>aycabta@gmail.com</email>
</author>
<published>2021-09-05T19:11:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d07060c42a7d3fd1ff9a3024e5f064448578a722'/>
<id>d07060c42a7d3fd1ff9a3024e5f064448578a722</id>
<content type='text'>
https://github.com/ruby/reline/commit/7e56c8af05
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/reline/commit/7e56c8af05
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] Use sort.last instead of sort.reverse.first</title>
<updated>2021-09-05T20:23:46+00:00</updated>
<author>
<name>aycabta</name>
<email>aycabta@gmail.com</email>
</author>
<published>2021-09-05T19:05:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8913b9b742b425b7660870a20adcebb400453221'/>
<id>8913b9b742b425b7660870a20adcebb400453221</id>
<content type='text'>
https://github.com/ruby/reline/commit/67f1d8d2d2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/reline/commit/67f1d8d2d2
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] Allow Reline::KeyStroke to compare raw and meta-key processed key sequences</title>
<updated>2021-09-05T20:23:27+00:00</updated>
<author>
<name>aycabta</name>
<email>aycabta@gmail.com</email>
</author>
<published>2021-09-05T18:58:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3773296bfc45a60baf9e5cc025bfed2d6b493eaa'/>
<id>3773296bfc45a60baf9e5cc025bfed2d6b493eaa</id>
<content type='text'>
https://github.com/ruby/reline/commit/731103f9c9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/reline/commit/731103f9c9
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] Use single quotes for non-expanded string literals</title>
<updated>2020-08-18T10:08:11+00:00</updated>
<author>
<name>aycabta</name>
<email>aycabta@gmail.com</email>
</author>
<published>2020-07-12T14:21:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=568615d3952f332d971b00ba30eeedc3606a51c0'/>
<id>568615d3952f332d971b00ba30eeedc3606a51c0</id>
<content type='text'>
https://github.com/ruby/reline/commit/3bf7c7d722
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/reline/commit/3bf7c7d722
</pre>
</div>
</content>
</entry>
<entry>
<title>Suppress "shadowing outer local variable" warning in 2.5</title>
<updated>2019-11-08T07:18:36+00:00</updated>
<author>
<name>aycabta</name>
<email>aycabta@gmail.com</email>
</author>
<published>2019-11-08T07:17:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6e72b72881b42e28d2f97ee023587e3d071fb64b'/>
<id>6e72b72881b42e28d2f97ee023587e3d071fb64b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Move I/O access from Reline::KeyStroke to Reline</title>
<updated>2019-06-05T02:29:59+00:00</updated>
<author>
<name>aycabta</name>
<email>aycabta@gmail.com</email>
</author>
<published>2019-06-05T02:29:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c75a3356b39c5a6ede275f38d5d869dbcd5dba93'/>
<id>c75a3356b39c5a6ede275f38d5d869dbcd5dba93</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use inputrc data for keystroke setting</title>
<updated>2019-06-01T00:06:27+00:00</updated>
<author>
<name>aycabta</name>
<email>aycabta@gmail.com</email>
</author>
<published>2019-06-01T00:05:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7df65ef67691fcc354d819da9cd54a1ade9b6247'/>
<id>7df65ef67691fcc354d819da9cd54a1ade9b6247</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
