aboutsummaryrefslogtreecommitdiff
path: root/cutter.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-05-04 23:32:24 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-05-04 23:32:24 +0200
commit670a733b2202558a0970d225abd7088f6d68a01e (patch)
tree09a91aa9b87c818308e972a060347b5810eeb048 /cutter.go
parent91d3472be75004b6e937cd57ad27a8a6f6872b09 (diff)
Status Word 2 ?
Diffstat (limited to 'cutter.go')
-rw-r--r--cutter.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/cutter.go b/cutter.go
index de12352..be1a40c 100644
--- a/cutter.go
+++ b/cutter.go
@@ -433,3 +433,8 @@ func (c Cutter) ReadUpperRight() Point {
c.Send("U")
return c.parsePoint()
}
+
+func (c Cutter) StatusWord() (string, error) {
+ c.Send("@")
+ return c.readResponse()
+}