summaryrefslogtreecommitdiff
path: root/test/reline/yamatanooroti
Commit message (Collapse)AuthorAgeFilesLines
* [ruby/reline] Omit a test on Ruby 2.6aycabta2021-12-301-0/+1
| | | | | | | Some tokens in Ruby 2.6 have difference information than in 2.7 and later, but 2.6 will soon be out of support. https://github.com/ruby/reline/commit/f3bc698385
* [ruby/reline] Use ripper_lex_without_warningaycabta2021-12-301-1/+1
| | | | https://github.com/ruby/reline/commit/b7536dc224
* [ruby/reline] Escape newline(s) in dynamic promptaycabta2021-12-252-0/+20
| | | | https://github.com/ruby/reline/commit/9b209ee1ea
* [ruby/reline] Escape newline(s) in promptaycabta2021-12-251-0/+13
| | | | https://github.com/ruby/reline/commit/b545459fca
* [ruby/reline] Clear dialog in pastingaycabta2021-12-191-0/+11
| | | | https://github.com/ruby/reline/commit/dabf5313e0
* [ruby/reline] Change a test method name to more appropriateaycabta2021-12-181-1/+1
| | | | https://github.com/ruby/reline/commit/d014cc85b7
* [ruby/reline] Remove unnecessary variables, lower_spaceaycabta2021-12-131-0/+20
| | | | | | | | 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
* [ruby/reline] Execute compress_meta_key if convert_meta is onima1zumi2021-12-101-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* [ruby/reline] Correct padding space calculationima1zumi2021-11-212-0/+37
| | | | | | | | | | | | 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
* [ruby/reline] Add tests for dialog with fullwidth chars and corner casesaycabta2021-10-112-0/+43
| | | | https://github.com/ruby/reline/commit/35ab5d47a8
* [ruby/reline] Fix tests to show dialog to the right edgeaycabta2021-10-091-8/+8
| | | | https://github.com/ruby/reline/commit/6a0d0ada94
* [ruby/reline] Add a test for full-width scrollbaraycabta2021-10-092-0/+19
| | | | https://github.com/ruby/reline/commit/cff83e68f8
* [ruby/reline] Add a test for narrow screen without scrollbaraycabta2021-10-081-0/+16
| | | | https://github.com/ruby/reline/commit/44cd35e65d
* [ruby/reline] Cut off the excess on narrow screenaycabta2021-10-081-0/+26
| | | | https://github.com/ruby/reline/commit/972cc993ca
* [ruby/reline] Reduce window size so that it can be displayed in my desktopaycabta2021-10-051-3/+3
| | | | https://github.com/ruby/reline/commit/22359d50ab
* [ruby/reline] Cyrillic chars are now forced to be displayed in full-width on ↵aycabta2021-10-051-22/+0
| | | | | | | | Windows So testing is no longer necessary. https://github.com/ruby/reline/commit/c59589548b
* [ruby/reline] Re-calc the scroll pos when the content in dialog is shortenedaycabta2021-10-032-0/+34
| | | | https://github.com/ruby/reline/commit/12ea63e6e0
* [ruby/reline] Add a test for rerendering arg prompt after pastingaycabta2021-10-031-0/+11
| | | | https://github.com/ruby/reline/commit/5414a42b0e
* [ruby/reline] Add newlines for readabilityaycabta2021-10-031-1/+22
| | | | https://github.com/ruby/reline/commit/2a60aacebb
* [ruby/reline] Stop using Ctrl+j to test on Windowsaycabta2021-10-031-2/+2
| | | | | | Because Ctrl+j and Enter are the same on Windows. https://github.com/ruby/reline/commit/fa885ed449
* [ruby/reline] The behaviour of Alt+key on Windows is changedaycabta2021-09-141-13/+0
| | | | | | ref. https://github.com/ruby/reline/commit/dc2cf90fa6 https://github.com/ruby/reline/commit/4d1518aafc
* [ruby/reline] Move #pointer from DialogRenderInfo to Dialogaycabta2021-09-101-7/+7
| | | | https://github.com/ruby/reline/commit/92dbac0bff
* [ruby/reline] Fix scroll range of a script for testsaycabta2021-09-101-1/+1
| | | | https://github.com/ruby/reline/commit/6ceebe52bc
* [ruby/reline] Add tests that column of dialog with scrollbar is moved ↵aycabta2021-09-102-1/+36
| | | | | | without garbase https://github.com/ruby/reline/commit/45c70d6222
* [ruby/reline] Add a test that text under dialog appearsaycabta2021-09-101-0/+15
| | | | https://github.com/ruby/reline/commit/0b63bd56ce
* [ruby/reline] Add a test that autocomplete doesn't crash after 2nd lineaycabta2021-09-101-0/+13
| | | | https://github.com/ruby/reline/commit/f682c74975
* [ruby/reline] Add a test that dialog doesn't crash when callback returns nilaycabta2021-09-102-0/+11
| | | | https://github.com/ruby/reline/commit/2c6f604b98
* [ruby/reline] Add a test that autocompletion returns to the original textaycabta2021-09-101-0/+15
| | | | https://github.com/ruby/reline/commit/d80880e56b
* [ruby/reline] Use single quotes to match others in the fileaycabta2021-09-101-3/+3
| | | | https://github.com/ruby/reline/commit/a17de2d6d8
* [ruby/reline] Add a test that autocomplete dialog doesn't crash when emptyaycabta2021-09-101-0/+10
| | | | https://github.com/ruby/reline/commit/9c0080c27f
* [ruby/reline] Add a test for when completion target is wrappedaycabta2021-09-101-0/+15
| | | | https://github.com/ruby/reline/commit/25a94d70c3
* [ruby/reline] Fix complete proc of a script for testsaycabta2021-09-102-9/+5
| | | | https://github.com/ruby/reline/commit/ee1c1adddc
* [ruby/reline] Add a test that dialog may appear at the top if cursor at ↵aycabta2021-09-101-0/+21
| | | | | | bottom edge https://github.com/ruby/reline/commit/6c2ab47958
* [ruby/reline] Add a test for dialog at right edgeaycabta2021-09-101-0/+19
| | | | https://github.com/ruby/reline/commit/db642169b9
* [ruby/reline] Add a test for dialog with scroll keyaycabta2021-09-102-12/+56
| | | | https://github.com/ruby/reline/commit/99640abf75
* [ruby/reline] Add tests for autocomplete with scrollbaraycabta2021-09-102-0/+56
| | | | https://github.com/ruby/reline/commit/29634cbc93
* [ruby/reline] Add a test for simple dialogaycabta2021-09-102-0/+32
| | | | https://github.com/ruby/reline/commit/d70f507e2c
* [ruby/reline] Add a simple test for autocompleteaycabta2021-09-102-0/+22
| | | | https://github.com/ruby/reline/commit/11f83b2f4b
* [ruby/reline] Move only one line when render a line and then go to the next lineaycabta2021-09-081-1/+0
| | | | https://github.com/ruby/reline/commit/8a966cd962
* [ruby/reline] Fix a crash when completing empty lineaycabta2021-09-021-0/+13
| | | | https://github.com/ruby/reline/commit/8226ae7e57
* [ruby/reline] Fix a crash when completing after 2nd lineaycabta2021-09-022-0/+19
| | | | https://github.com/ruby/reline/commit/f9d3480c34
* [ruby/reline] Add workspace member for the latest IRB's implementationaycabta2021-08-141-1/+1
| | | | https://github.com/ruby/reline/commit/8b55fc8fee
* [ruby/reline] Remove private visibilityaycabta2021-08-141-1/+1
| | | | https://github.com/ruby/reline/commit/fa54e521da
* [ruby/reline] Windows cmd: Don't type anything when pressing ALT keys aloneLars Kanis2021-07-301-0/+13
| | | | | | Fixes #298 https://github.com/ruby/reline/commit/72acfcd27a
* [ruby/reline] Add yamatanooroti test about set and exchange markaycabta2021-06-211-0/+10
| | | | https://github.com/ruby/reline/commit/2e6fdca5c6
* [ruby/reline] Handle Errno::ENOTTY correctlyaycabta2021-06-211-0/+11
| | | | https://github.com/ruby/reline/commit/8daa392ba6
* [ruby/reline] Add a test for pasting Cyrillic chars into command prompt on ↵aycabta2021-06-211-0/+22
| | | | | | | | cp 850 This closes https://github.com/ruby/reline/issues/103. https://github.com/ruby/reline/commit/213e0523d5
* [ruby/reline] Use ReadConsoleInputW() instead of getwch()aycabta2021-06-211-0/+23
| | | | | | | This needs https://github.com/aycabta/yamatanooroti/pull/19, which is released by yamatanooroti gem 0.0.7, to test with yamatanooroti. https://github.com/ruby/reline/commit/06c1f45da1
* [ruby/reline] Reset @rest_height when clear screenaycabta2021-04-021-0/+11
| | | | https://github.com/ruby/reline/commit/3a7019b0d5
* [ruby/reline] Add a test for suppressing crash when dynamic prompt returns emptyaycabta2021-02-212-0/+16
| | | | | | ref. https://github.com/ruby/reline/pull/262 https://github.com/ruby/reline/commit/b98bc3c329