MCPcopy Create free account
hub / github.com/ccusage/ccusage / with_terminal_width

Method with_terminal_width

rust/crates/ccusage-terminal/src/table.rs:36–39  ·  view source on GitHub ↗
(mut self, width: usize)

Source from the content-addressed store, hash-verified

34 }
35
36 pub fn with_terminal_width(mut self, width: usize) -> Self {
37 self.terminal_width = width;
38 self
39 }
40
41 pub fn with_date_compaction(mut self, compact_dates: bool) -> Self {
42 self.compact_dates = compact_dates;

Calls

no outgoing calls