Skip to content
Myr

Make a comment a little clearer

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Christian Rocha · committed by Christian Rocha · parent cfb8997 · Browse files · 1 file+3 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−2 removed

  • other:+3 added−2 removed

1 file+3 added−2 removed

modified:tea.go+3 added-2 removed
170 unmodified lines
171 io.WriteString(p.rw, view)172 linesRendered = strings.Count(view, "\r\n")173}174175// UseSysLog logs to the system log. This becomes helpful when debugging since176// we can't easily print to the terminal since our TUI is occupying it!175// UseSysLog sets up logging to log the system log. This becomes helpful when176// debugging since we can't easily print to the terminal since our TUI is177// occupying it!178//179// On macOS this is a just a matter of: tail -f /var/log/system.log180func UseSysLog(programName string) error {181 l, err := syslog.New(syslog.LOG_NOTICE, programName)
6 unmodified lines