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
{{ message }}
Repository navigation
Text echoes after using backtick on Windows 11 command prompt/powershell #676
Tried with Ruby 3.2 and reline 0.5.7 in Windows 11 Powershell, and it still behaves oddly.
I can see that GetConsoleScreenBufferInfo is returning 0 which indicates an issue but not sure what is causing it. Fiddle.win32_last_error shows 6, which seems to map to ERROR_INVALID_HANDLE
Activity
andrewngo commentedon Apr 10, 2024
Adding these gems seem to workaround the issue for me for now
edit: these gems do cause copy/paste to behave oddly so it's more of a trade-off than workaround now
tompng commentedon Apr 11, 2024
For investigation, can you check these value before and after problem occurs?
Does it happens with specific command or any command?
andrewngo commentedon Apr 11, 2024
I don't see the issue with commands like
echo "hello", but other apps likeruby -v,chromedriver -vorchocoare all issuesafter
andrewngo commentedon May 23, 2024
Tried with Ruby 3.2 and reline 0.5.7 in Windows 11 Powershell, and it still behaves oddly.
I can see that
GetConsoleScreenBufferInfois returning 0 which indicates an issue but not sure what is causing it.Fiddle.win32_last_errorshows 6, which seems to map toERROR_INVALID_HANDLEreline/lib/reline/windows.rb
Line 337 in a5b5298
andrewngo commentedon Sep 6, 2024
Fix looks good to me in v.0.5.10. Thanks!