wert007 / tabelle

It is a spreadsheet program for your terminal. Written in rust.
MIT License
1 stars 1 forks source link

[Suggestion] `tabled` Crate for Terminal Output #1

Closed kevinmatthes closed 1 year ago

kevinmatthes commented 1 year ago

Hello, @wert007, and congrats for your new project!

I would like to suggest you the following crate as it focuses on writing tables formatted to the terminal: https://github.com/zhiburt/tabled. The license is MIT, so it would fit this project very well. The idea would be to convert read input files to the tabled data structures in order to allow for mirroring the cells' formatting, like frame styles, bold formatting, or colours. This might improve the user convenience regarding the output.

What do you think?

wert007 commented 1 year ago

Hey!

It looks really fancy, but one thing I worry about, is that writing to your terminal is often slow. So we only re-render, what is necessary, since otherwise you will see flickering and similar things. With our custom table rendering this is no problem, but tabled does not seem to support big, often updating, tables on the terminal screen. Which is fine, I think it is a specific requirement of tabelle. But yes that would be a reason to not use tabled.

kevinmatthes commented 1 year ago

Okay! I assumed that the output would be written to the terminal directly.