mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-11-08 11:36:11 +01:00
Send \r instead of \n from native input text view (fixes #1020)
This commit is contained in:
parent
2a36b915cb
commit
330301899a
1 changed files with 1 additions and 1 deletions
|
|
@ -249,7 +249,7 @@ public final class TermuxActivity extends Activity implements ServiceConnection
|
|||
if (session != null) {
|
||||
if (session.isRunning()) {
|
||||
String textToSend = editText.getText().toString();
|
||||
if (textToSend.length() == 0) textToSend = "\n";
|
||||
if (textToSend.length() == 0) textToSend = "\r";
|
||||
session.write(textToSend);
|
||||
} else {
|
||||
removeFinishedSession(session);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue