Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6181ff53c0 |
@@ -52,8 +52,13 @@ func main() {
|
||||
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()))
|
||||
setup()
|
||||
|
||||
fmt.Println(banner())
|
||||
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
4.0.69
|
||||
4.0.70
|
||||
|
||||
Reference in New Issue
Block a user