Remove panic-prone optional beep helpers
This commit is contained in:
committed by
Brandon McGinty
parent
51d62c3acb
commit
c3fe4f88f3
@@ -4,7 +4,6 @@ import (
|
||||
"encoding/binary"
|
||||
"errors"
|
||||
"math"
|
||||
"os/exec"
|
||||
"runtime"
|
||||
"sync"
|
||||
"sync/atomic"
|
||||
@@ -46,16 +45,6 @@ var (
|
||||
ErrOutputDevice = errors.New("gumbleopenal: invalid output device or parameters")
|
||||
)
|
||||
|
||||
func beep() {
|
||||
cmd := exec.Command("beep")
|
||||
cmdout, err := cmd.Output()
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
if cmdout != nil {
|
||||
}
|
||||
}
|
||||
|
||||
type renderCommand struct {
|
||||
fn func()
|
||||
done chan struct{}
|
||||
|
||||
Reference in New Issue
Block a user