You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Autocompletion, which is on as default, causes reline to send a lot of ANSI chars which don't get interpreted by the Windows CMD shell. This is caused by reline and might ultimately be fixed there. Meanwhile, an easy fix is to set USE_AUTOCOMPLETE in IRB to false.
In order to not annoy people and make them enjoy IRB on Windows (may be with JRuby only?) please consider making this the default on Windows.
Result of irb_info
Ruby version: 2.6.8
IRB version: irb 1.4.2 (2022-10-03)
InputMethod: ReidlineInputMethod with Reline 0.3.1
RUBY_PLATFORM: java
East Asian Ambiguous Width: 0
Code page: Aktive Codepage: 437.
In the latest Reline, the same ANSI chars and rendering algorithm are used in both autocomplete mode and in noautocomplete mode.
So, this current state of the problem is one of these:
Already fixed
Not fixed even without autocompletion, maybe with multiline code input or when prompt line is at the bottom of the shell.
There is also a fix for windows in ruby/reline#775
Please open a new issue in ruby/reline if something is not working.
Activity
tompng commentedon Jan 2, 2025
In the latest Reline, the same ANSI chars and rendering algorithm are used in both autocomplete mode and in noautocomplete mode.
So, this current state of the problem is one of these:
There is also a fix for windows in ruby/reline#775
Please open a new issue in ruby/reline if something is not working.