[mike@mwxm4]

This commit is contained in:
2026-08-11 16:19:18 +02:00
parent 55f42ec50d
commit 70f300f893
2 changed files with 7 additions and 2 deletions
+6 -1
View File
@@ -52,8 +52,13 @@ func main() {
return return
} }
setup() // Colour first, then setup(): the configuration warnings setup() prints are
// the first thing on screen, and they were the only messages coming out
// uncoloured — col() saw useColor still false while they were written.
// Nothing about the terminal depends on the configuration, so the question
// can just as well be asked one line earlier.
useColor = readline.IsTerminal(int(os.Stdout.Fd())) useColor = readline.IsTerminal(int(os.Stdout.Fd()))
setup()
fmt.Println(banner()) fmt.Println(banner())
+1 -1
View File
@@ -1 +1 @@
4.0.69 4.0.70