andmarti1424 / sc-im

sc-im - Spreadsheet Calculator Improvised -- An ncurses spreadsheet program for terminal
Other
4.8k stars 203 forks source link

[Feature Request] Add a Max Columns Compile Time Option #812

Closed jeffgazso closed 1 year ago

jeffgazso commented 1 year ago

Can a -DMAXCOLUMNS compile time option be added to complement the max rows option? Right now sc-im is capped at 702 columns per the README. Nearly all modern spreadsheets support at least 1024 columns and most support 16384 columns, either by default or as a configuration option. Adding a max columns option good for at least 16384 columns would bring sc-im to feature parity for large file support.

By the way, I know multiple sheet support was added in v0.8.3. Is the maximum number of sheets hard capped or is it simply limited by available memory?

andmarti1424 commented 1 year ago

Hello. Do you really use that many columns? You can redefine #define ABSMAXCOLS 702 macro in sc.h if you need more. The number of sheets is limited by memory, yes.