[.clinkpromt] Can :rightfilter be used to place something on a "multiline" :filter line? #684
-
In Pure |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Look at how Antares, bureau, Headline, and jonathan add right-aligned text on the first line. Inside |
Beta Was this translation helpful? Give feedback.
Look at how Antares, bureau, Headline, and jonathan add right-aligned text on the first line.
Inside
:filter()
they useos.getwidth()
to find the width of the terminal,console.cellcount()
to find the displayed width of text (counting the characters in a string is not the same as the displayed width), andstring.rep()
to make a string of spaces or line characters to fill the middle area and right-justify some text on the first line.