fixing keybinding for terminals