make terminal 256 color output the default (#93)

this will allow terminals that support 256 color ansi codes to have
preview applications use 256 colors
This commit is contained in:
Chris Howey authored and gokcehan committed 2018-01-01 01:10:00 +03:00
1 parent dd7b3f95c7
commit ec8e75ba30
2 files changed
+16

No files matched your search

+2
View File
@@ -28,6 +28,8 @@ func run() {
}
defer termbox.Close()
termbox.SetOutputMode(termbox.Output256)
app := newApp()
if _, err := os.Stat(gConfigPath); !os.IsNotExist(err) {