]> gitweb.factorcode.org Git - factor.git/commitdiff
io.streams.256color: fixing grayscale, adding authors and summary files.
authorJohn Benediktsson <mrjbq7@gmail.com>
Tue, 24 Jul 2012 16:47:55 +0000 (09:47 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 24 Jul 2012 16:47:55 +0000 (09:47 -0700)
extra/io/streams/256color/256color.factor
extra/io/streams/256color/authors.txt [new file with mode: 0644]
extra/io/streams/256color/summary.txt [new file with mode: 0644]

index b58fcda1be883b88450336de493c12d232376837..8278056ea36823cfa6f91b0cdb70d031bb24d9d1 100644 (file)
@@ -47,7 +47,7 @@ intensities [| r i |
 ] each-index
 
 ! Add the Grayscale colors
-0x08 0xee over - 10 /i 10 <range> [
+0x08 0xee 10 <range> [
     [ dup dup 3array ] dip 232 + swap
     256colors set-at
 ] each-index
diff --git a/extra/io/streams/256color/authors.txt b/extra/io/streams/256color/authors.txt
new file mode 100644 (file)
index 0000000..e091bb8
--- /dev/null
@@ -0,0 +1 @@
+John Benediktsson
diff --git a/extra/io/streams/256color/summary.txt b/extra/io/streams/256color/summary.txt
new file mode 100644 (file)
index 0000000..af7fae6
--- /dev/null
@@ -0,0 +1 @@
+xterm-256color implementation of formatted stream protocol