summaryrefslogtreecommitdiff
path: root/ascii+32.lua
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2024-11-02 13:41:36 +0100
committerAki <please@ignore.pl>2024-11-02 13:41:36 +0100
commit0b0e02875dbc4d7d795cafe6e5720aa66b32e1ac (patch)
treee42c905d5d1ddde4c1bb1cf58fbf7d697c17616e /ascii+32.lua
parent1a2c8b663ed89b4d4a75463e28260a7c4955ecb1 (diff)
downloadnoita-eyes-0b0e02875dbc4d7d795cafe6e5720aa66b32e1ac.zip
noita-eyes-0b0e02875dbc4d7d795cafe6e5720aa66b32e1ac.tar.gz
noita-eyes-0b0e02875dbc4d7d795cafe6e5720aa66b32e1ac.tar.bz2
Naive approach to disk-based masking directly on the trigrams
Diffstat (limited to 'ascii+32.lua')
-rwxr-xr-xascii+32.lua6
1 files changed, 2 insertions, 4 deletions
diff --git a/ascii+32.lua b/ascii+32.lua
index c16eb6f..cc4ce97 100755
--- a/ascii+32.lua
+++ b/ascii+32.lua
@@ -1,9 +1,7 @@
#!/usr/bin/env lua
local eyes = require "eyes"
+local format = require "format"
local reading = require "reading"
for _, message in ipairs(eyes) do
- for _, value in reading.values(message) do
- io.write(string.char(value + 32))
- end
- print()
+ print(format.ascii32(reading.tvalues(message)))
end