diff options
Diffstat (limited to 'cmd/rescribe/gui.go')
-rw-r--r-- | cmd/rescribe/gui.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/rescribe/gui.go b/cmd/rescribe/gui.go index d1a992d..91cdb4d 100644 --- a/cmd/rescribe/gui.go +++ b/cmd/rescribe/gui.go @@ -78,7 +78,7 @@ func copyStdoutToChan() (chan rune, error) { // copyStderrToChan creates a pipe to copy anything written // to the file also to a rune channel. // TODO: would be nice to merge this with copyStdoutToChan, -// but a naive version using *os.File didn't work. +// but a naive version using *os.File didn't work. func copyStderrToChan() (chan rune, error) { c := make(chan rune) @@ -558,7 +558,7 @@ func startGui(log *log.Logger, cmd string, gbookcmd string, training string, tes }) abortbtn.Disable() - gobtn.OnTapped = func(){ + gobtn.OnTapped = func() { start(ctx, log, cmd, tessdir, gbookcmd, dir.Text, trainingOpts.Selected, myWindow, logarea, progressBar, abortbtn, !wipe.Checked, bigpdf.Checked, disableWidgets) } |