diff options
author | Dimitri Sokolyuk <demon@dim13.org> | 2015-05-16 18:47:15 +0200 |
---|---|---|
committer | Dimitri Sokolyuk <demon@dim13.org> | 2015-05-16 18:47:15 +0200 |
commit | 8b10757e325f8c3247afa830fa4a456041688ade (patch) | |
tree | 3f10452787d7511a24e5f648f2e5b58b320f1f10 /robo.go | |
parent | 66d5d2ebec340297f9fa8e72328f564f804cf25e (diff) |
Adjust easteregg, add Raw command
Diffstat (limited to 'robo.go')
-rw-r--r-- | robo.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -120,6 +120,12 @@ func send(c *bufio.Writer, a ...interface{}) { etx(c) } +func Raw(c *bufio.Writer, a ...interface{}) { + for _, cmd := range a { + send(c, cmd) + } +} + func Version(c *bufio.ReadWriter) string { send(c.Writer, "FG") return recv(c.Reader) |