mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-06 02:35:19 +08:00
Show "-press Enter to close" at session exit
This makes it more clear how to close the session after finishing. Fixes #15.
This commit is contained in:
@@ -119,7 +119,7 @@ public final class TerminalSession extends TerminalOutput {
|
||||
// Negated signal.
|
||||
exitDescription += " with signal " + (-exitCode);
|
||||
}
|
||||
exitDescription += "]";
|
||||
exitDescription += " - press Enter to close]";
|
||||
|
||||
byte[] bytesToWrite = exitDescription.getBytes(StandardCharsets.UTF_8);
|
||||
mEmulator.append(bytesToWrite, bytesToWrite.length);
|
||||
|
Reference in New Issue
Block a user