Files
nomad/command
Mahmood Ali 44ea61ef3a cli: Use glint to determine if os.Stdout is tty (#10926)
Use glint to determine if os.Stdout is a terminal.

glint Terminal renderer expects os.Stdout [not only to be a terminal, but also to have non-zero size](b492b545f6/renderer_term.go (L39-L46)). It's unclear how this condition arises, but this additional check causes Nomad to render deployments progress through glint when glint cannot support it.

By using golint to perform the check, we eliminate the risk of mis-judgement.
2021-07-23 11:27:47 -04:00
..
2020-12-09 11:05:18 -08:00
2020-12-09 11:05:18 -08:00
2020-12-09 11:05:18 -08:00
2020-12-09 11:05:18 -08:00
2020-10-21 14:05:46 -04:00
2020-10-21 14:05:46 -04:00
2020-10-21 14:05:46 -04:00
2020-12-09 11:05:18 -08:00
2021-05-07 13:58:40 -04:00
2020-12-09 11:05:18 -08:00
2020-11-30 11:12:06 -05:00
2020-12-09 11:05:18 -08:00
2020-10-19 09:30:15 -04:00
2020-12-09 11:05:18 -08:00
2021-04-01 11:16:52 -04:00
2021-03-31 16:37:09 -04:00