aboutsummaryrefslogtreecommitdiff
path: root/cutter.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-05-16 14:59:43 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-05-16 14:59:43 +0200
commit68fbf7e2dfcdeeb2f8cc6d6d0ef78ecfbea4fe41 (patch)
tree49d6dc185f7b7499f88a353aa718eca74306b086 /cutter.go
parentb0881b54f30c60314d14e6b6812d966f1a77936b (diff)
Complete initialize sequence
Diffstat (limited to 'cutter.go')
-rw-r--r--cutter.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cutter.go b/cutter.go
index 6c6b384..5c5ba7e 100644
--- a/cutter.go
+++ b/cutter.go
@@ -86,9 +86,9 @@ func (c Cutter) Esc(bytes ...byte) {
c.Flush()
}
-//func (c Cutter) Step(dir StepDirection) {
-// c.Esc(NUL, byte(dir))
-//}
+func (c Cutter) Step(dir Direction) {
+ c.Esc(NUL, byte(dir))
+}
func (c Cutter) TestCut() {
c.Send("FH")