Skip to content

Commit

Permalink
fix: sizing of key sequence column for palette
Browse files Browse the repository at this point in the history
  • Loading branch information
cfoust committed Feb 5, 2024
1 parent 0c9f034 commit 127c25d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkg/cy/cy-boot.janet
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,12 @@ For example:
(get x :sequence)
(string/join x " ")
(string " " x " ")))
(tuple [desc (string sequence)] func))
(tuple [desc
(string
# Padding on the left prevents the table library from
# shrinking the key sequence string
(string/repeat " " (max (- 15 (length (string sequence))) 0))
sequence)] func))
_)
(input/find _ :prompt "search: actions")
(apply _)))
Expand Down

0 comments on commit 127c25d

Please sign in to comment.