Skip to content

Commit

Permalink
test_yamatanooroti: avoid windows conhost behavior
Browse files Browse the repository at this point in the history
Non VT sequence supporting windows console has forced newline output when writing rightmost column of line. This may appear as an additional line break.
Clearing screen to avoid this environment dependent behavior.
  • Loading branch information
YO4 committed Dec 17, 2024
1 parent 820ab79 commit b383a37
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/reline/yamatanooroti/test_rendering.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1256,11 +1256,9 @@ def test_dialog_with_fullwidth_chars
start_terminal(20, 5, %W{ruby -I#{@pwd}/lib #{@pwd}/test/reline/yamatanooroti/multiline_repl --dialog fullwidth,scrollkey,scrollbar}, startup_message: 'Multiline REPL.', codepage: 932)
omit "codepage 932 not supported" if !codepage_success?
end
write("\C-l")
6.times{ write('j') }
assert_screen(<<~'EOC')
Multi
line
REPL.
>
オー
グ言▄
Expand Down

0 comments on commit b383a37

Please sign in to comment.