summaryrefslogtreecommitdiffstats
path: root/src/krebs.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/krebs.hs')
-rw-r--r--src/krebs.hs24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/krebs.hs b/src/krebs.hs
new file mode 100644
index 0000000..38170dc
--- /dev/null
+++ b/src/krebs.hs
@@ -0,0 +1,24 @@
+
+ --Text.writeFile "/tmp/test" $ pp krebs
+
+ krebs = let size = 16 in
+ Plain
+ $ Text.decodeUtf8With (\_ _ -> Nothing)
+ $ Sixel.render
+ --(Rectangle (fromIntegral $ termWidthPixels - (fromIntegral size) - 2 * termBorder) 60 size size)
+ (Rectangle (fromIntegral $ termWidthPixels - (fromIntegral size) - 2 * termBorder) 38 size size)
+ [(0,0,0),(228,0,43)]
+ [0,1,0,1,0,0,0,0,0,0,0,0,0,1,0,1
+ ,1,1,0,1,0,0,1,1,0,1,1,0,1,1,0,1
+ ,1,1,0,1,0,0,1,1,0,1,1,0,1,1,0,1
+ ,0,1,1,1,0,0,0,1,0,0,1,0,0,1,1,1
+ ,0,1,1,1,0,0,1,1,1,1,1,0,0,1,1,1
+ ,0,0,1,0,0,1,1,1,1,1,1,1,0,0,1,0
+ ,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0
+ ,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0
+ ,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0
+ ,0,0,0,1,0,0,0,1,1,1,0,0,0,1,0,0
+ ,0,0,1,0,0,1,0,1,0,1,0,1,0,0,1,0
+ ,0,0,1,0,0,1,0,1,0,1,0,1,0,0,1,0
+ ,0,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0
+ ]