mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-11-08 11:36:11 +01:00
termux service: make sure that styling is always applied whenever session starts
This commit is contained in:
parent
330301899a
commit
2481f66717
1 changed files with 6 additions and 0 deletions
|
|
@ -295,6 +295,12 @@ public final class TermuxService extends Service implements SessionChangedCallba
|
||||||
TerminalSession session = new TerminalSession(executablePath, cwd, args, env, this);
|
TerminalSession session = new TerminalSession(executablePath, cwd, args, env, this);
|
||||||
mTerminalSessions.add(session);
|
mTerminalSessions.add(session);
|
||||||
updateNotification();
|
updateNotification();
|
||||||
|
|
||||||
|
// Make sure that terminal styling is always applied.
|
||||||
|
Intent stylingIntent = new Intent("com.termux.app.reload_style");
|
||||||
|
stylingIntent.putExtra("com.termux.app.reload_style", "styling");
|
||||||
|
sendBroadcast(stylingIntent);
|
||||||
|
|
||||||
return session;
|
return session;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue