mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-12-13 04:21:15 +01:00
Force refresh when returning in onStart()
This makes sure that terminal session changes that has happened while away are visible when returning.
This commit is contained in:
parent
048af64093
commit
9e19217f8f
1 changed files with 4 additions and 0 deletions
|
|
@ -525,6 +525,10 @@ public final class TermuxActivity extends Activity implements ServiceConnection
|
|||
}
|
||||
|
||||
registerReceiver(mBroadcastReceiever, new IntentFilter(RELOAD_STYLE_ACTION));
|
||||
|
||||
// The current terminal session may have changed while being away, force
|
||||
// a refresh of the displayed terminal:
|
||||
mTerminalView.onScreenUpdated();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue