Option to toggle on/off wrap lines
What problem are you trying to solve?
Some logs can be quite long and it's useful to toggle off wrap lines
Describe the solution you'd like
A toggle to turn on/off wrapped lines, similar to timestamp
@goenning, would adding support to toggle on/off line wrapping in logs be difficult to implement? A lot of devs in my team are asking for it and some of them prefer to keep using k9s because of this 😦
@mboutet it is difficult because I had major performance issues with extremely long lines. However I just had a look at how VSCode does it and it seems like they have a hard limit, so even if you activate wrap lines, it might still wrap the ones that are too long.
I might try this option on the next version as it should remove the performance issue + help in most cases if log lines are not too long.
@goenning, thanks for getting back 😄 How long was extremely long in your tests? I just checked, and the longest line I could find was around 1800 characters wide. Quite wide indeed, but when I paste it in a text editor, it doesn't look too long visually 😛
Anyway, a hard limit sounds reasonable. Maybe this limit could be configurable in case the performance issues are dependent on the specs of the machine on which Aptakube runs on.