From: Daan De Meyer Date: Fri, 18 Aug 2023 19:11:34 +0000 (+0200) Subject: Run tput smam to make sure line wrapping is reenabled X-Git-Tag: v16~52^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e651b88e2836943d7434d9d88d13ef910b868fdf;p=thirdparty%2Fmkosi.git Run tput smam to make sure line wrapping is reenabled When running seabios, it disables line wrapping for some weird reason, so let's make sure we reenable it before we exit. --- diff --git a/mkosi/__main__.py b/mkosi/__main__.py index 092cd9ab7..bf8aab7b1 100644 --- a/mkosi/__main__.py +++ b/mkosi/__main__.py @@ -52,6 +52,7 @@ def main() -> None: finally: if sys.stderr.isatty() and shutil.which("tput"): run(["tput", "cnorm"]) + run(["tput", "smam"]) if __name__ == "__main__":