Maximus5 / cygwin-connector

https://conemu.github.io/ terminal connector for cygwin/msys
https://conemu.github.io/en/CygwinMsysConnector.html
Other
82 stars 5 forks source link

Arrows keys not working together with cygwin connector after update of msys2 ncurses to 6.1.20180127 #27

Closed eshepelyuk closed 6 years ago

eshepelyuk commented 6 years ago

I'm using Msys2 with ConEmu.

The task to run bash is default one, generated by ConEmu

set CHERE_INVOKING=1 & set "PATH=D:\opt\msys64\usr\bin;%PATH%" & %ConEmuBaseDirShort%\conemu-msys2-64.exe -new_console:p D:\opt\msys64\usr\bin\bash.exe --login -i -new_console:C:"D:\opt\msys64\msys2.ico"

After upgrading Msys2 packages with pacman using following command line

$ pacman -Syyuu

arrow keys and backspace (maybe other keys too) stopped working, they print spaces and not moving cursor or deleting chars.

As soon as I disable connector in ConEmu task, i.e. run bash with following

set CHERE_INVOKING=1 & set "PATH=D:\opt\msys64\usr\bin;%PATH%" & D:\opt\msys64\usr\bin\bash.exe --login -i -new_console:C:"D:\opt\msys64\msys2.ico"

keys are working fine.

The reason is caused by ncurses-6.1.20180127-1-x86_64

After downgrading to ncurses-6.0.20170708-2-x86_64 - arrow keys are working fine with connector.

I assume some improvement may be done to fix this.

eshepelyuk commented 6 years ago

Issue is gone with latest update of ncurses from msys2