Replies: 1 comment
-
Hi, and thanks for the question! I think the easiest solution would be to wrap the Layer::with_color(
TextView::new("DummyChat(tm)").style(Effect::Reverse),
ColorStyle::primary().invert(),
)
.full_width(), |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have the following code:
which produces the following layout:
As you can see, the "DummyChat(tm)" line is only reverse-highlighted where there is text. I would like the reverse-video highlighting to automatically extend to the end of the line (as though "DummyChat(tm)" were followed by arbitrarily many spaces), no matter how wide the terminal is. How can I do that?
Beta Was this translation helpful? Give feedback.
All reactions