<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/reline/io/windows.rb, branch v3_4_9</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] Combine MAPPINGS(single byte input to symbol) with</title>
<updated>2024-12-06T07:09:24+00:00</updated>
<author>
<name>tomoya ishida</name>
<email>tomoyapenguin@gmail.com</email>
</author>
<published>2024-12-06T07:09:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5f65321915843faf47231a941f284e7375d6fb10'/>
<id>5f65321915843faf47231a941f284e7375d6fb10</id>
<content type='text'>
key_bindings(escape sequence to symbol)
(https://github.com/ruby/reline/pull/715)

https://github.com/ruby/reline/commit/6a7e249374
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
key_bindings(escape sequence to symbol)
(https://github.com/ruby/reline/pull/715)

https://github.com/ruby/reline/commit/6a7e249374
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] Implement buffered output to Reline::ANSI</title>
<updated>2024-12-02T16:44:49+00:00</updated>
<author>
<name>tomoya ishida</name>
<email>tomoyapenguin@gmail.com</email>
</author>
<published>2024-12-02T16:44:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=36aeb12aa91976e8a8872fd575fe195dbd760964'/>
<id>36aeb12aa91976e8a8872fd575fe195dbd760964</id>
<content type='text'>
(https://github.com/ruby/reline/pull/790)

Minimize the call of STDOUT.write
This will improve rendering performance especially when there is a busy thread `Thread.new{loop{}}`

https://github.com/ruby/reline/commit/a6fe45f5ba
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/reline/pull/790)

Minimize the call of STDOUT.write
This will improve rendering performance especially when there is a busy thread `Thread.new{loop{}}`

https://github.com/ruby/reline/commit/a6fe45f5ba
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] Windows fix (https://github.com/ruby/reline/pull/775)</title>
<updated>2024-11-08T03:28:57+00:00</updated>
<author>
<name>YO4</name>
<email>ysno@ac.auone-net.jp</email>
</author>
<published>2024-11-08T03:28:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b99c17a95bb70064c5526689811c1550a530350f'/>
<id>b99c17a95bb70064c5526689811c1550a530350f</id>
<content type='text'>
* test_yamatanooroti: close tempfile before unlink

* test_yamatanooroti: omit because of windows does not support job control

* test_yamatanooroti: change startup message detection for windows

* windows.rb: can call win32api using nil as NULL for pointer argument

Exception occurred when interrupted with Ctrl+C on legacy conhost

* windows.rb: fix get_screen_size

return [window height, buffer width] insted of [buffer height, buffer width]

* windows.rb: import scroll_down() from ansi.rb

* windows.rb: add auto linewrap control if VT output not supported (legacy console)

* unfreeze WIN32API pointer arguments

They internally duplicate arguments so api functions write to another place.
This breaks the console mode detection with ruby-head.

* remove useless code from Win32API#call

argument repacking and return value tweaking is not needed for Reline::Windows requirements.

* Correctly handle top of console viewport

* Revert "remove useless code from Win32API#call"

This reverts commit https://github.com/ruby/reline/commit/060ba140ed43.

* Revert "windows.rb: can call win32api using nil as NULL for pointer argument"

This reverts commit https://github.com/ruby/reline/commit/93a23bc5d0c9.

https://github.com/ruby/reline/commit/47c1ffbabe
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test_yamatanooroti: close tempfile before unlink

* test_yamatanooroti: omit because of windows does not support job control

* test_yamatanooroti: change startup message detection for windows

* windows.rb: can call win32api using nil as NULL for pointer argument

Exception occurred when interrupted with Ctrl+C on legacy conhost

* windows.rb: fix get_screen_size

return [window height, buffer width] insted of [buffer height, buffer width]

* windows.rb: import scroll_down() from ansi.rb

* windows.rb: add auto linewrap control if VT output not supported (legacy console)

* unfreeze WIN32API pointer arguments

They internally duplicate arguments so api functions write to another place.
This breaks the console mode detection with ruby-head.

* remove useless code from Win32API#call

argument repacking and return value tweaking is not needed for Reline::Windows requirements.

* Correctly handle top of console viewport

* Revert "remove useless code from Win32API#call"

This reverts commit https://github.com/ruby/reline/commit/060ba140ed43.

* Revert "windows.rb: can call win32api using nil as NULL for pointer argument"

This reverts commit https://github.com/ruby/reline/commit/93a23bc5d0c9.

https://github.com/ruby/reline/commit/47c1ffbabe
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] Rename `matches?` as `match?`</title>
<updated>2024-10-03T10:38:38+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-10-03T10:38:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9d4af312bd7406fe648f82100ae7f597b53e4de2'/>
<id>9d4af312bd7406fe648f82100ae7f597b53e4de2</id>
<content type='text'>
(https://github.com/ruby/reline/pull/753)

https://github.com/ruby/reline/commit/9230fe162d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/reline/pull/753)

https://github.com/ruby/reline/commit/9230fe162d
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] Get console handle again and retry when Win32API call</title>
<updated>2024-09-02T14:34:39+00:00</updated>
<author>
<name>tomoya ishida</name>
<email>tomoyapenguin@gmail.com</email>
</author>
<published>2024-09-02T14:34:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=fe2db1bed9effe7ae18a39e3068ce7d957cc894c'/>
<id>fe2db1bed9effe7ae18a39e3068ce7d957cc894c</id>
<content type='text'>
fails
(https://github.com/ruby/reline/pull/734)

https://github.com/ruby/reline/commit/66291b5e3c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fails
(https://github.com/ruby/reline/pull/734)

https://github.com/ruby/reline/commit/66291b5e3c
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/reline] Overhaul io gate structure</title>
<updated>2024-06-01T10:28:08+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2024-06-01T10:28:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cda69b5910494a745d87b7932547341cb2fefe3a'/>
<id>cda69b5910494a745d87b7932547341cb2fefe3a</id>
<content type='text'>
(https://github.com/ruby/reline/pull/666)

* Overhaul IO gate structure

1. Move IO related classes to `lib/reline/io/` directory.
2. Rename `GeneralIO` to `Dumb`.
3. Use IO classes as instances instead of classes.

* Update lib/reline/io/ansi.rb

Co-authored-by: tomoya ishida &lt;tomoyapenguin@gmail.com&gt;

---------

https://github.com/ruby/reline/commit/dc1518e1ac

Co-authored-by: tomoya ishida &lt;tomoyapenguin@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/reline/pull/666)

* Overhaul IO gate structure

1. Move IO related classes to `lib/reline/io/` directory.
2. Rename `GeneralIO` to `Dumb`.
3. Use IO classes as instances instead of classes.

* Update lib/reline/io/ansi.rb

Co-authored-by: tomoya ishida &lt;tomoyapenguin@gmail.com&gt;

---------

https://github.com/ruby/reline/commit/dc1518e1ac

Co-authored-by: tomoya ishida &lt;tomoyapenguin@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
