terminfo: 1 head* is but-last

db4
Jon Harper 2013-04-26 20:57:54 +03:00 committed by John Benediktsson
parent 5054b6b3de
commit a902428f62
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ C: <terminfo-header> terminfo-header
5 firstn <terminfo-header> ;
: read-names ( header -- names )
names-bytes>> read 1 head* "|" split [ >string ] map ;
names-bytes>> read but-last "|" split [ >string ] map ;
: read-booleans ( header -- booleans )
boolean-bytes>> read [ 1 = ] { } map-as ;