cli-candlestick-chart icon indicating copy to clipboard operation
cli-candlestick-chart copied to clipboard

example: tui-rs integration

Open flisky opened this issue 3 years ago • 0 comments

Thanks you for this wonderful crate!

I'm trying to use it in tui-rs, another wonderful crate. And I did some (mininal) changes:

  • render the chart into string, without println!.
  • explicit width and height, making terminal_size optional.
  • some cleanups (clippy, smaller output)
  • add an example how to use it with tui-rs.

I just hope it help, and it's totally fine if you close PR.

flisky avatar Jul 22 '22 02:07 flisky