forked from Mirrors/bubbletea
Make a comment a little clearer
This commit is contained in:
parent
cfb899789e
commit
b72cce8f00
5
tea.go
5
tea.go
|
@ -172,8 +172,9 @@ func (p *Program) render(model Model) {
|
||||||
linesRendered = strings.Count(view, "\r\n")
|
linesRendered = strings.Count(view, "\r\n")
|
||||||
}
|
}
|
||||||
|
|
||||||
// UseSysLog logs to the system log. This becomes helpful when debugging since
|
// UseSysLog sets up logging to log the system log. This becomes helpful when
|
||||||
// we can't easily print to the terminal since our TUI is occupying it!
|
// debugging since we can't easily print to the terminal since our TUI is
|
||||||
|
// occupying it!
|
||||||
//
|
//
|
||||||
// On macOS this is a just a matter of: tail -f /var/log/system.log
|
// On macOS this is a just a matter of: tail -f /var/log/system.log
|
||||||
func UseSysLog(programName string) error {
|
func UseSysLog(programName string) error {
|
||||||
|
|
Loading…
Reference in New Issue