Open jslater89 opened 8 years ago
Alternately, implementing some ANSI escape codes in the Swing terminal might be easier, and that's probably something I'm capable of doing on my own.
I can see how this would be useful, but unfortunately, it's going to be pretty low on the priority list as it's a quite large task. Maybe you can override label or create a custom component to make it look the way you like?
This consist of three parts:
If lanterna could add just the "3.", then this would already help some users.
Finally, that one TextImage could be changed to a sequence of TextImages (one for each word) to allow for word-wrapping lateron. Some special values in that sequence could be used for forced line breaks and other fancy formatting hints.
It would be great to be able to set bold or underline on certain spans of text in a label, so I could emphasize certain parts of it without having to combine labels.