# shellcheck shell=dash

___x_cmd_man_ls(){
    if ___x_cmd_is_stdout2tty; then
        ___x_cmd_man_ls_ui "$@"
        return
    fi
    ___x_cmd_man_run_k "$@" 2>/dev/null
}

___x_cmd_man_ls_ui(){
    while true; do
        ___x_cmd_man___k_app "$@" || return
    done
}
