Handbook
Glossary
terminfo-relative-path ( name -- path )
Vocabulary
terminfo
Inputs
name
an
object
Outputs
path
an
object
Definition
USING:
system
;
IN:
terminfo
HOOK:
terminfo-relative-path
os
( name -- path )
Methods
USING:
formatting
kernel
math.parser
sequences
system
terminfo
;
M:
macos
terminfo-relative-path
[
first
>hex
]
keep
"%s/%s"
sprintf
;
USING:
formatting
kernel
sequences
terminfo
;
M:
object
terminfo-relative-path
[
first
]
keep
"%c/%s"
sprintf
;