aboutsummaryrefslogtreecommitdiff
path: root/drawtext
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-05-22 14:02:52 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-05-22 14:02:52 +0200
commitea653ce3bf266fb3c3f6b917b3924b0328f5d4a4 (patch)
tree7302107f595ad8822b75a413dca2d52b93a151ef /drawtext
parent9b2b5ec2c339805b3604c41a48cedf3db4fcf868 (diff)
Generalize
Diffstat (limited to 'drawtext')
-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))
}