Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

use clean return instead of error makeing #12

Open
amtoine opened this issue Jan 31, 2023 · 0 comments
Open

use clean return instead of error makeing #12

amtoine opened this issue Jan 31, 2023 · 0 comments

Comments

@amtoine
Copy link
Member

amtoine commented Jan 31, 2023

that is a proposition, e.g. instead of having

Error:
  × User choose to exit...
    ╭─[scripts/prompt.nu:27:1]
 27 │     if ($choice | is-empty) {
 28 │         error make (context user_choose_to_exit)
    ·         ─────┬────
    ·              ╰── User choose to exit...
 29 │     }
    ╰────

when pressing <C-c> inside the selection of repo goto we could have a simpler

User choose to exit...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant