mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/reline] The behaviour of Alt+key on Windows is changed
ref. https://github.com/ruby/reline/commit/dc2cf90fa6 https://github.com/ruby/reline/commit/4d1518aafc
This commit is contained in:
parent
4e03032a83
commit
881136d2ff
1 changed files with 0 additions and 13 deletions
|
@ -774,19 +774,6 @@ begin
|
||||||
EOC
|
EOC
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_brackets
|
|
||||||
omit unless Reline::IOGate.win?
|
|
||||||
start_terminal(20, 50, %W{ruby -I#{@pwd}/lib #{@pwd}/test/reline/yamatanooroti/multiline_repl}, startup_message: 'Multiline REPL.')
|
|
||||||
write("\x80\M-[\x80\M-{\x80\M-}\x80\M-]\n")
|
|
||||||
close
|
|
||||||
assert_screen(<<~EOC)
|
|
||||||
Multiline REPL.
|
|
||||||
prompt> [{}]
|
|
||||||
=> [{}]
|
|
||||||
prompt>
|
|
||||||
EOC
|
|
||||||
end
|
|
||||||
|
|
||||||
def test_with_newline
|
def test_with_newline
|
||||||
omit if Reline::IOGate.win?
|
omit if Reline::IOGate.win?
|
||||||
cmd = %Q{ruby -e 'print(%Q{abc def \\e\\r})' | ruby -I#{@pwd}/lib -rreline -e 'p Reline.readline(%{> })'}
|
cmd = %Q{ruby -e 'print(%Q{abc def \\e\\r})' | ruby -I#{@pwd}/lib -rreline -e 'p Reline.readline(%{> })'}
|
||||||
|
|
Loading…
Add table
Reference in a new issue