I use gitbash ver 2.9.0, 64-bit, on Windows 7. It uses mintty version 2.0.3.
In most cases, the gitbash shell works fine. You can use the arrow keys, etc., As with any bash shell, and they perform, as expected, the ability to scroll through previous commands, etc.
However, when using irbor rails console(which works irb) it is very opaque. Instead of scrolling through previous commands, the up arrow moves the cursor up the screen and enters what probably contains the arrow control codes into the input buffer. Also, it irbshould be output using ^ C, not ^ D. ^ D does nothing except enter the input buffer (if I type ^ D, then ^ C, it exits because irbof ^ C, and then exits from gitbash due to ^ D).
I cannot find much on the way to other posts on this subject, and what I found is somewhat outdated. I tried the solutions shown in this post: Backspace and arrow keys do not work in IRB (Git bash console) on a Windows computer , but they did not change the behavior at all.
Has anyone found a legal solution to this problem?
source
share