aboutsummaryrefslogtreecommitdiff
path: root/robo.go
diff options
context:
space:
mode:
Diffstat (limited to 'robo.go')
-rw-r--r--robo.go9
1 files changed, 8 insertions, 1 deletions
diff --git a/robo.go b/robo.go
index 2181bc5..d0cf9da 100644
--- a/robo.go
+++ b/robo.go
@@ -3,6 +3,7 @@ package robo
import (
"bufio"
"fmt"
+ "io"
)
const (
@@ -164,7 +165,13 @@ func str(c *bufio.ReadWriter, cmd string) string {
return recv(c.Reader)
}
-func Version(c *bufio.ReadWriter) string { return str(c, "FG") }
+func Version(c io.Writer) string {
+ io.WriteString(c, "FG")
+ //return str(c, "FG")
+ return ""
+}
+
+//func Version(c *bufio.ReadWriter) string { return str(c, "FG") }
func StatusWord(c *bufio.ReadWriter) string { return str(c, "@") }
type Orientation int