From 82846347afb2094172ca4688ab09a8b87f2da81e Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Thu, 14 May 2026 08:17:01 +0000 Subject: [PATCH] box: Drop background tinting Now that we have $SHELL_PROMPT_PREFIX integration, let's drop the background tinting. Especially since it doesn't quite nest all that well yet and we often invoke nspawn and such from within mkosi box which does its own background tinting. --- mkosi/__init__.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mkosi/__init__.py b/mkosi/__init__.py index 2ff6a24a8..15affd267 100644 --- a/mkosi/__init__.py +++ b/mkosi/__init__.py @@ -80,7 +80,6 @@ from mkosi.config import ( parse_config, resolve_deps, summary, - systemd_pty_forward, systemd_tool_version, want_kernel, want_selinux_relabel, @@ -4250,9 +4249,6 @@ def run_box(args: Args, config: Config) -> None: cmdline = [*args.cmdline] - if sys.stdin.isatty() and sys.stdout.isatty(): - cmdline = systemd_pty_forward(config, background="48;2;12;51;51", title="mkosi-sandbox") + cmdline - with contextlib.ExitStack() as stack: if config.tools() != Path("/"): d = stack.enter_context(tempfile.TemporaryDirectory(prefix="mkosi-path-")) -- 2.47.3