aboutsummaryrefslogtreecommitdiff
path: root/drawtext/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'drawtext/main.go')
-rw-r--r--drawtext/main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/drawtext/main.go b/drawtext/main.go
index 751041c..5f02e5d 100644
--- a/drawtext/main.go
+++ b/drawtext/main.go
@@ -2,6 +2,7 @@ package main
import (
"flag"
+ "os"
"dim13.org/robo"
)
@@ -20,5 +21,5 @@ func main() {
robo.Initialize(handle, 113, robo.Portrait)
robo.A4.UpperRight(handle.Writer)
robo.Triple{100, 100, 100}.Factor(handle.Writer)
- robo.PrintStdin(handle.Writer, robo.Unit(*scale))
+ robo.Print(handle.Writer, os.Stdin, robo.Unit(*scale))
}