Commit graph

7 commits

Author SHA1 Message Date
tomoya ishida
e26908dc4b [ruby/reline] Improve OSC sequence regexp. OSC sequence can end with
ST(ESC\) and it should not to include \a and \e inside.
(https://github.com/ruby/reline/pull/527)

a88052adec
2023-03-29 06:54:08 +00:00
Stan Lo
1e9a218ade [ruby/reline] Expand the scanned array to later case statement more
straightforward
(https://github.com/ruby/reline/pull/526)

* Improve test coverage on Unicode.take_range

* Add test for Unicode.calculate_width

* Expand the scanned array to later case statement more straightforward
2023-03-28 12:49:49 +00:00
tomoya ishida
60ca800d4f [ruby/reline] Fix split_by_width to retain color sequences
(https://github.com/ruby/reline/pull/490)

* Fix split_by_width to retain color sequences

* Add OSC escape sequence testcase of Reline::Unicode.split_by_width
2023-03-25 15:01:35 +00:00
aycabta
168bd4f356 [ruby/reline] Add a test for Reline::Unicode#take_range
af7953ff93
2021-09-06 08:09:50 +09:00
aycabta
af19f9a6e9 Call Reline.test_reset in teardown definitely 2021-06-21 22:12:14 +09:00
ima1zumi
299f5708a2 [ruby/reline] Fixed an exception occurred when ambiguous width character was passed to #calculate_width [Bug #17405]
f79b4c857f
2020-12-22 23:45:43 +09:00
manga_osyo
21f26018d2 [ruby/reline] Add test Reline::Unicode.test_get_mbchar_width.
301e9048fc
2020-12-05 02:58:58 +09:00