Skip to content

Commit

Permalink
editors: make the editor restarts nicer looking
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjbq7 committed Nov 15, 2024
1 parent d013449 commit c1ecd9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion basis/editors/editors.factor
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ SYMBOL: editor-class
: available-editors ( -- seq )
"editors" disk-child-vocab-names
{ "editors.ui" "editors.private" } diff
[ vocab-platforms supported-platform? ] filter ;
[ vocab-platforms supported-platform? ] filter
[ "editors." ?head drop ] map ;

: editor-restarts ( -- alist )
available-editors
Expand Down
2 changes: 1 addition & 1 deletion extra/readline-listener/readline-listener.factor
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ M: readline-reader prompt.
named-colors prefixed ;

: prefixed-editors ( prefix -- editors )
available-editors [ "editors." ?head drop ] map prefixed ;
available-editors prefixed ;

: prefixed-chars ( prefix -- chars )
name-map keys prefixed ;
Expand Down

0 comments on commit c1ecd9d

Please sign in to comment.