Andrew Janke
116f08f1f9
ui Printf functions: handle errors by dying
2018-12-22 12:30:38 -05:00
Mislav Marohnić
f8feb335bc
Don't choke on literal `%` output from `--format` use
...
In general, avoid using Printf without a static format string.
2018-12-20 18:01:20 +01:00
Josh Soref
e540db3926
spelling: indicate
2017-11-08 02:38:45 +00:00
Pascal Corpet
c142db3f1e
Use formatter when listing issues.
2016-05-11 14:39:46 +02:00
Pascal Corpet
eafcc3833e
Add more colors
2016-02-28 20:28:32 +01:00
Pascal Corpet
87f7e1419e
Split huge test in smaller ones.
2016-02-28 20:28:32 +01:00
Pascal Corpet
0746859141
Add padding in the expander.
2016-02-28 20:28:32 +01:00
Pascal Corpet
2a6c091e30
First version of a formatter that works like `git log --format`.
2016-02-28 20:28:32 +01:00
Mislav Marohnić
1b862e3388
Switch from godep & rewriting import paths to GO15VENDOREXPERIMENT
2016-01-20 14:46:44 +11:00
Mislav Marohnić
64e83cef20
Move `IsTerminal()` function to "ui" package
2015-10-31 01:45:20 +01:00
Jingwen Owen Ou
385b41fcdd
Colorized Windows console
...
Introduce github.com/mattn/go-colorable to solve the console color
issues on Windows
2015-06-12 12:56:52 -04:00
Jingwen Owen Ou
177640dbd4
Extract logic of printing out to console
...
Introduce a `console` package which encapsulates logic of printing out
to console. This provides flexibility of discarding output in tests.
It also allows us to unify format of printing to console (if we want to).
This fixes #801 .
2015-02-20 13:19:24 -08:00