Repository navigation
termcast@1.3.54
·
114 commits
to main
since this release
-
CandleChart component — new trading-style OHLC candlestick chart for terminal UIs.
Renders one candle per terminal column using block characters with 2× vertical sub-row resolution:
- Body (open-to-close):
▌/▘/▖block chars for precise positioning - Wick (high-to-low):
│thin vertical line extending above/below body - Green = bullish (close ≥ open), red = bearish (close < open)
When data exceeds the plot width, adjacent candles are aggregated into OHLC buckets automatically. Candles are right-aligned so the latest data sits at the right edge.
import { CandleChart } from 'termcast' <CandleChart data={candles} // { open, high, low, close, timestamp }[] bullColor="#26a69a" bearColor="#ef5350" />
Works in
List.Item.Detailside panels, full-pageDetailviews, andRowside-by-side layouts. Can be mixed withGraphline overlays andBarChartvolume bars. - Body (open-to-close):
-
Table
wrapTextcolumn sizing fix — wrap-mode tables now size columns by content width instead of equal-width splits. Short columns no longer waste space and long columns get proportionally more room.