Open keithkml opened 4 years ago
Please have a look at my change in f896e46 and see if that helps you at all.
That looks great! I do think Lanterna should provide some kind of styled string class, or at least a string with a single style attached as I suggested. But your changes to the cell renderer make it much simpler to implement on my own so that’s cool.
Right now, if you want to display one column in a different color, you need to create your own
TableCellRenderer
. I found myself copying and pasting code fromDefaultTableCellRenderer
. It would be nice if there was a simple way to style a whole cell. For example (rough sketch):