dylanaraps / fff

📁 A simple file manager written in bash.
MIT License
4.09k stars 173 forks source link

general: add support for alternative arrow key sequence #106

Closed Crestwave closed 5 years ago

dylanaraps commented 5 years ago

It's probably better to do it this way since this can occur on other OS.

        "${FFF_KEY_CHILD1:=l}"|\
        "${FFF_KEY_CHILD2:=$'\e[C'}"|\
        "${FFF_KEY_CHILD3:=""}"|\
        "${FFF_KEY_CHILD4:=$'\eOC'}")
            open "${list[scroll]}"
        ;;
Crestwave commented 5 years ago

It's probably better to do it this way since this can occur on other OS.

        "${FFF_KEY_CHILD1:=l}"|\
        "${FFF_KEY_CHILD2:=$'\e[C'}"|\
        "${FFF_KEY_CHILD3:=""}"|\
        "${FFF_KEY_CHILD4:=$'\eOC'}")
            open "${list[scroll]}"
        ;;

Done.

dylanaraps commented 5 years ago

LGTM :+1: