running quit() doesn't reset the terminal
- Dominant language
- Rust
- Stars
- 4.8k
- Forks
- 270
- Avg merge
- 5d 19h
- Merged PRs (30d)
- 2
Description
First: is this a bug report? A suggestion? Or asking for help?
A bug report I think, or maybe asking for help :)
# Problem description
I have a quit button in a ripasso, and in the new user wizard there is a quit button that I have implemented like this:
```
.button(super::CATALOG.gettext("Cancel"), |s| {
s.quit();
std::process::exit(0);
})
```
This doesn't reset the terminal for the user and it looks like this:

If possible code, or pseudo-code to reproduce the problem / present an idea.
See above.
# Environment
* Operating system: ubuntu, gnome-terminal
* Backend used: ncurses (the default one), pancurses, termion, ...
* If using ncurses on linux, ncurses version? #define NCURSES_VERSION "6.1"
* Current locale (run `locale` in a terminal).
LANG=sv_SE.UTF-8
LANGUAGE=en
LC_CTYPE="sv_SE.UTF-8"
LC_NUMERIC="sv_SE.UTF-8"
LC_TIME="sv_SE.UTF-8"
LC_COLLATE="sv_SE.UTF-8"
LC_MONETARY="sv_SE.UTF-8"
LC_MESSAGES="sv_SE.UTF-8"
LC_PAPER="sv_SE.UTF-8"
LC_NAME="sv_SE.UTF-8"
LC_ADDRESS="sv_SE.UTF-8"
LC_TELEPHONE="sv_SE.UTF-8"
LC_MEASUREMENT="sv_SE.UTF-8"
LC_IDENTIFICATION="sv_SE.UTF-8"
LC_ALL=
* Cursive version (from crates.io, from git, ...) 0.13.0
Contributor guide
Assessment
This issue has not been assessed yet.