# shellcheck shell=dash
___x_cmd_ted___micro_(){
    ___x_cmd_cmds_cat >/dev/tty <<A
Notice: Using micro to write.
Using Ctrl-Q to finish input.
Using Ctrl-C to interrupt and then you can switch other editor like vim, micro, or other
A
    # x ui select yes yes-and-never-show-this

    x_=$(x micro) || {
        printf "\r%s\n" "Received interrupt" >/dev/tty
        # TODO: you can choose to quit with 130 or switch editor here
        return 130
    }

    # choose submit, continue, or quit
}

___x_cmd_ted___micro(){
    local x_=""
    ___x_cmd_ted___micro_ || return
    printf "%s\n" "$x_"
}
