mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-12-14 13:01:17 +01: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:
parent
65cfcffa6f
commit
0deacd8fc6
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ public final class TerminalSession extends TerminalOutput {
|
||||||
// Negated signal.
|
// Negated signal.
|
||||||
exitDescription += " with signal " + (-exitCode);
|
exitDescription += " with signal " + (-exitCode);
|
||||||
}
|
}
|
||||||
exitDescription += "]";
|
exitDescription += " - press Enter to close]";
|
||||||
|
|
||||||
byte[] bytesToWrite = exitDescription.getBytes(StandardCharsets.UTF_8);
|
byte[] bytesToWrite = exitDescription.getBytes(StandardCharsets.UTF_8);
|
||||||
mEmulator.append(bytesToWrite, bytesToWrite.length);
|
mEmulator.append(bytesToWrite, bytesToWrite.length);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue