gajus / table

Formats data into a string table.
Other
894 stars 77 forks source link

Render tables side by side? #219

Open koenverburg opened 1 year ago

koenverburg commented 1 year ago

Hi Gajus,

Thanks for creating this package!

I wanted to use this package to log data, is there a way to display/render multiple tables side by side like my example below?

┌────────────────────────────────────────┐ ┌────────────────────────────────────────┐
│ Trading BTC-USDT on Binance - Wallet   │ │ Trading BTC-USDT on Binance - Wallet   │
├───────────┬──────┬────────────┬────────┤ ├───────────┬──────┬────────────┬────────┤
│ assetName │ USDT │ assetValue │ 240000 │ │ assetName │ USDT │ assetValue │ 240000 │
├───────────┼──────┼────────────┼────────┤ ├───────────┼──────┼────────────┼────────┤
│ baseName  │ BTC  │ baseValue  │ 240000 │ │ baseName  │ BTC  │ baseValue  │ 240000 │
└───────────┴──────┴────────────┴────────┘ └───────────┴──────┴────────────┴────────┘