fix keybinding issues on cygwin