]> gitweb.factorcode.org Git - factor.git/commitdiff
readline-listener: fix for tools.completion renames.
authorJohn Benediktsson <mrjbq7@gmail.com>
Thu, 21 Mar 2013 06:06:40 +0000 (23:06 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Thu, 21 Mar 2013 06:06:40 +0000 (23:06 -0700)
extra/readline-listener/readline-listener.factor

index 072f80e1d4b7b8cb3e84de00becd703dae8b2115..90c13767cd2c5d5cd28cfa9bfcf7aa1232b4d0b8 100644 (file)
@@ -41,8 +41,8 @@ M: readline-reader prompt.
     completions tget [ nip ] [
         completion-line " \r\n" split {
             { [ dup complete-vocab? ] [ drop prefixed-vocabs ] }
-            { [ dup complete-CHAR:? ] [ drop prefixed-chars ] }
-            { [ dup complete-COLOR:? ] [ drop prefixed-colors ] }
+            { [ dup complete-char? ] [ drop prefixed-chars ] }
+            { [ dup complete-color? ] [ drop prefixed-colors ] }
             [ drop prefixed-words ]
         } cond dup completions tset
     ] if* ;