feat: lock the headers/columns during scrolling
Adding this mostly as a reminder to myself but also as inspiration for anyone else that want to implement this.
New feature (by default IMO) should be that the result buffer should have a way to lock the headers/columns when you are scrolling downwards. This would be awesome since then you don't have to scroll up all the time to check what the header's name was etc. Unfortunately, my screen isn't big enough to fit all rows (including the headers) in a single page -> so I do be scrolling a lot.
Idea to implement this was to perhaps add a new backend endpoint called e.g. "getResultHeaders" or something -> that simply returns the column name for the current running buffer. Then, overwrite the headers using the lua UI and remove having headers in the stdout of the result. Not sure how difficult this would be since there is prob a lot of edge cases with alignment etc but would be a nice feature to have.