csv123
csv123 copied to clipboard
Include a UI library to make editing/saving easier?
Would you take a PR which added https://github.com/achura/termboxUI so that it was possible to 'Enter' to edit a cell (in a popup editor) and CTRL-S to save (with a filename prompt) etc?
I would really like to spend a little bit of time refactoring the current app a little bit. Ideally have separate files that handle both the underlying sheet data + functions to manipulate them, and a separate file that handles UI.
I did think a little bit about replacing all of termbox with a different TUI library. That should become a bit easier once that separation is done. It looks like termboxUI might also just help.
I do want use ENTER
start editing, but instead of doing this with a pop-up, I want to use the top-most line to display both the current value of the cell (it might be truncated to 20 chars now) and as the input field.
Here you can see the top line, it contains "Principal". It also matches how excel and google sheets work today =)