Termux-app: Option to quit app

Created on 12 Nov 2015  路  11Comments  路  Source: termux/termux-app

There is no clear way to quit the app, even after selecting Hangup.

All 11 comments

You can close the session by pressing return when the Process completed message is shown - if this was the last active session, the app will quit. It's also possible to quit by pinch-expanding the Termux notification which shows an "EXIT" action on it.

I agree that it's not clear enough how to exit. Perhaps appending - press Enter to quit to the Process completed message could be a solution?

What about just closing that session and sending the Process completed message as a toast notification?

@jarrettgilliam The drawback with automatically closing the session is that the terminal can sometimes contain information that you do not want to miss, if you accidentally closed the session or something crashed.

I'm leaning on trying out - press Enter to close in the next update and see how it's received!

@fornwall Ah, that makes sense. Good call.

The - press Enter to close message will be in the next release (version 0.20) - thanks for the feedback!

This still isn't convenient.

  1. There's no notification that I can pinch-zoom to open to press exit.
  2. If I have 10 sessions open, I have to go exit out of each manually. It's even more tedious if I have more sessions open.
  3. Furthermore it is difficult to quit some sessions manually as they involve multiple steps. For.e. to quit a session with vim we have to type commands to exit vim first, then we can press Ctrl+d,enter. It's too much.

Ideal:

  1. There should just be an option in the menu to quit Termux (all sessions).
  2. It would also be simple if it just quit when we swiped the app away from the Android app switcher view. Make this option configurable in the config file.

UX, guys, UX!

Hi.

How do you exit in Vim? In your usual scenarios, you would just press the 'esc' key then ':x'. Even using the emulator doesn't seem to work.

How do you exit in Vim?

ESC + ":x" (or ":q").

Even using the emulator doesn't seem to work.

You can't pass ESC to the emulator, use Extra Key Row (https://wiki.termux.com/wiki/Touch_Keyboard#Extra_Keys_Row) in Termux instead.

I just close the app and start a new session, then I pkg remove app responsible and the following video shows how to kill sessions: https://youtu.be/K2qMhpfAfXU

this video is great. i installed termux in my mob but was figuring how to kill session or go back to cursor as it was stuck

How quit toilet tool?

Was this page helpful?
0 / 5 - 0 ratings