aboutsummaryrefslogtreecommitdiff
path: root/cutter.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-05-16 14:24:59 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-05-16 14:24:59 +0200
commit0d0c55fafb5442f0ba11055b13fa54c983bd4a4c (patch)
treec6225a34b607c70a2e5d7da255ba43742108be7e /cutter.go
parent234d7a09d640a7faee142d7dd8bd91e2292eba65 (diff)
Add Step
Diffstat (limited to 'cutter.go')
-rw-r--r--cutter.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/cutter.go b/cutter.go
index f35f400..cff16c7 100644
--- a/cutter.go
+++ b/cutter.go
@@ -78,16 +78,6 @@ func (c Cutter) Send(a ...interface{}) {
c.EOT()
}
-type StepDirection byte
-
-const (
- StepStop StepDirection = 1 << iota >> 1
- StepDown
- StepUp
- StepRight
- StepLeft
-)
-
func (c Cutter) Esc(bytes ...byte) {
c.WriteByte(ESC)
for _, b := range bytes {