From ea62ae19be965349e3bfe88b61224749507e183d Mon Sep 17 00:00:00 2001 From: Michael Young Date: Fri, 26 Sep 2025 12:06:43 +0100 Subject: [PATCH 1/2] Add colour to banner logo. Note that this currently causes issues with line-wrapping, since the engine that wraps at a certain number of characters takes the colour control characters into account even though they have no width. This makes lines wrap early, and if the terminal is 80 characters wide that causes ugly behaviour. Hopefully this can be fixed at some point. --- lib/init.g | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/init.g b/lib/init.g index 82c828d242..292fa79d80 100644 --- a/lib/init.g +++ b/lib/init.g @@ -447,9 +447,9 @@ BindGlobal( "ShowKernelInformation", function() fi; if GAPInfo.TermEncoding = "UTF-8" then - btop := " ● G"; - bmid := "● ● A"; - bbot := " ● P"; + btop := " \033[94m● \033[1;31mG\033[0m"; + bmid := "\033[92m● \033[91m● \033[1;31mA\033[0m"; + bbot := " \033[93m● \033[1;31mP\033[0m"; else btop := " o G"; bmid := "o o A"; From e0e2859dde2e28bf48a60bd2bac5a3ec47ae775d Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 27 May 2026 02:18:44 +0200 Subject: [PATCH 2/2] tweaks --- lib/init.g | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/init.g b/lib/init.g index 292fa79d80..51c85bd6b6 100644 --- a/lib/init.g +++ b/lib/init.g @@ -447,9 +447,9 @@ BindGlobal( "ShowKernelInformation", function() fi; if GAPInfo.TermEncoding = "UTF-8" then - btop := " \033[94m● \033[1;31mG\033[0m"; - bmid := "\033[92m● \033[91m● \033[1;31mA\033[0m"; - bbot := " \033[93m● \033[1;31mP\033[0m"; + btop := " \033[32m● \033[0mG"; + bmid := "\033[94m● \033[91m● \033[0mA"; + bbot := " \033[93m● \033[0mP"; else btop := " o G"; bmid := "o o A";