Fixed bash_getkey's bug ignoring default key