开发者

Problem with keyboard mappings using IRB and Rails Installer under Windows

开发者 https://www.devze.com 2023-02-13 18:31 出处:网络
I\'m having a problem setting up the Rails Installer package under Windows - when IRB has been fired up, it seems to zap the default keyboard mappings which breaks the backspace function.

I'm having a problem setting up the Rails Installer package under Windows - when IRB has been fired up, it seems to zap the default keyboard mappings which breaks the backspace function.

It's appearing in the console as what I think开发者_开发技巧 is a Crtl-D character - or at least, it's displaying as <-[D. IRB also seems to have lost the Crtl-H backspace mapping as well.

Has anyone come across this - or even better, come across a fix?

TIA


try

ruby -S irb

or

alias irb='ruby -S irb'

workaround via Luis Lavena at https://groups.google.com/d/msg/rubyinstaller/HgswOz1T-eE/DgBH6PMpRPEJ

bug reported at https://github.com/luislavena/rb-readline/issues/37

0

精彩评论

暂无评论...
验证码 换一张
取 消