Prints a gesture-spec as a keystroke.
system
print-pretty-gesture-spec gspec stream &key force-meta-to-alt force-shift-for-upcase => gspec
| gspec⇩ |
A gesture-spec. |
| stream⇩ |
An output stream. |
| force-meta-to-alt⇩ |
A boolean. |
| force-shift-for-upcase⇩ | |
|
A boolean. | |
| gspec |
The gesture-spec that was passed. |
The function print-pretty-gesture-spec prints the keystroke represented by gspec to the stream stream.
If force-meta-to-alt is true, then gesture-spec-meta-bit is represented as Alt in the output; otherwise it is represented as Meta. force-meta-to-alt defaults to nil.
If force-shift-for-upcase is true and gspec represents uppercase input such as A, then the Shift modifier is printed, indicating that Shift is pressed to obtain the A character. force-shift-for-upcase defaults to t.
If gspec has a wild modifiers or data component (that is, gesture-spec-modifiers and/or gesture-spec-data return nil) then <Wild> appears in the output.
gesture-spec-data
gesture-spec-meta-bit
gesture-spec-modifiers
make-gesture-spec
LispWorks® User Guide and Reference Manual - 18 Feb 2025 15:32:47