mirror of https://github.com/mum4k/termdash.git
Improving comment about thread un-safety.
This commit is contained in:
parent
9b5caa35f5
commit
e18b9ba79b
|
@ -46,10 +46,8 @@ func ColorMode(cm terminalapi.ColorMode) Option {
|
|||
})
|
||||
}
|
||||
|
||||
// Terminal provides input and output to a real terminal.
|
||||
// Wraps the nsf/termbox-go terminal implementation.
|
||||
// This isn't thread-safe, because termbox isn't and only one instance is ever
|
||||
// supported, because termbox uses global state.
|
||||
// Terminal provides input and output to a real terminal. Wraps the
|
||||
// nsf/termbox-go terminal implementation. This object is not thread-safe.
|
||||
// Implements terminalapi.Terminal.
|
||||
type Terminal struct {
|
||||
// events is a queue of input events.
|
||||
|
|
Loading…
Reference in New Issue