Directories
¶
| Path | Synopsis |
|---|---|
|
apps
|
|
|
advanced-widget-impl
command
Command advanced-widget-impl shows the ways a type can be a widget, and what each one is for.
|
Command advanced-widget-impl shows the ways a type can be a widget, and what each one is for. |
|
async-github
command
Command async-github fetches ratatui's open pull requests in the background and shows them in a table while the UI keeps running.
|
Command async-github fetches ratatui's open pull requests in the background and shows them in a table while the UI keeps running. |
|
calendar-explorer
command
Command calendar-explorer draws a whole year of Monthly calendars, with the holidays and the solstices marked, in each of the styles the widget offers.
|
Command calendar-explorer draws a whole year of Monthly calendars, with the holidays and the solstices marked, in each of the styles the widget offers. |
|
canvas
command
Command canvas draws four canvases at once: a world map, a scratchpad, a bouncing ball and a row of rectangles.
|
Command canvas draws four canvases at once: a world map, a scratchpad, a bouncing ball and a row of rectangles. |
|
chart
command
Command chart draws four charts at once: a scrolling pair of sine waves, a bell curve as bars, a line through two points, and a scatter plot.
|
Command chart draws four charts at once: a scrolling pair of sine waves, a bell curve as bars, a line through two points, and a scatter plot. |
|
color-explorer
command
Command color-explorer draws every colour catatui can name or number, so you can see what your terminal actually makes of them.
|
Command color-explorer draws every colour catatui can name or number, so you can see what your terminal actually makes of them. |
|
colors-rgb
command
Command colors-rgb fills the terminal with every colour it can show, and animates them.
|
Command colors-rgb fills the terminal with every colour it can show, and animates them. |
|
constraint-explorer
command
Command constraint-explorer lets you build a set of constraints and watch every Flex mode lay them out at once.
|
Command constraint-explorer lets you build a set of constraints and watch every Flex mode lay them out at once. |
|
constraints
command
Command constraints shows what each kind of Constraint does, a tab per kind.
|
Command constraints shows what each kind of Constraint does, a tab per kind. |
|
custom-widget
command
Command custom-widget is a button drawn from scratch, and three of them wired to the mouse.
|
Command custom-widget is a button drawn from scratch, and three of them wired to the mouse. |
|
demo
command
Command demo is the original tui-rs demo, the one the ratatui README shows: three tabs of gauges, lists, charts, a table and a world map, all animating on a tick.
|
Command demo is the original tui-rs demo, the one the ratatui README shows: three tabs of gauges, lists, charts, a table and a world map, all animating on a tick. |
|
flex
command
Command flex shows what each Flex mode does to the same set of constraints.
|
Command flex shows what each Flex mode does to the same set of constraints. |
|
gauge
command
Command gauge fills four gauges at once, which is what shows the difference between the ways of measuring them.
|
Command gauge fills four gauges at once, which is what shows the difference between the ways of measuring them. |
|
getting-started
command
Command getting-started is Purrfect Day, the app built in docs/getting-started.md.
|
Command getting-started is Purrfect Day, the app built in docs/getting-started.md. |
|
hello
command
Command hello is a minimal catatui application: a constraint-driven layout, direct buffer drawing, and an event loop that blocks when idle.
|
Command hello is a minimal catatui application: a constraint-driven layout, direct buffer drawing, and an event loop that blocks when idle. |
|
hyperlink
command
Command hyperlink draws a line of text that is a clickable link, using the OSC 8 escape sequence.
|
Command hyperlink draws a line of text that is a clickable link, using the OSC 8 escape sequence. |
|
inline
command
Command inline shows the inline viewport: a fixed block of the terminal that redraws in place while finished lines scroll away above it.
|
Command inline shows the inline viewport: a fixed block of the terminal that redraws in place while finished lines scroll away above it. |
|
input-form
command
Command input-form is a form with three fields and a focus that moves between them.
|
Command input-form is a form with three fields and a focus that moves between them. |
|
minimal
command
Command minimal is the smallest catatui program that draws something: set up the terminal, draw one frame, quit on the first key.
|
Command minimal is the smallest catatui program that draws something: set up the terminal, draw one frame, quit on the first key. |
|
modifiers
command
Command modifiers draws every modifier against every pairing of five foreground and background colours, so you can see which of them your terminal actually renders.
|
Command modifiers draws every modifier against every pairing of five foreground and background colours, so you can see which of them your terminal actually renders. |
|
mouse-drawing
command
Command mouse-drawing is a scratchpad you draw on with the mouse.
|
Command mouse-drawing is a scratchpad you draw on with the mouse. |
|
panic
command
Command panic shows what a panic does to the terminal, with catatui's recovery in place and without it.
|
Command panic shows what a panic does to the terminal, with catatui's recovery in place and without it. |
|
popup
command
Command popup shows how to draw a popup over the top of the rest of the UI.
|
Command popup shows how to draw a popup over the top of the rest of the UI. |
|
release-header
command
Command release-header draws the banner that goes with a catatui release: the logo over a rainbow shadow, the version, and a menu of the packages.
|
Command release-header draws the banner that goes with a catatui release: the logo over a rainbow shadow, the version, and a menu of the packages. |
|
scrollbar
command
Command scrollbar draws four scrollbars over the same text, each built a different way.
|
Command scrollbar draws four scrollbars over the same text, each built a different way. |
|
table
command
Command table is a table of people with a scrollbar, a moving selection and a colour scheme that can be changed while it runs.
|
Command table is a table of people with a scrollbar, a moving selection and a colour scheme that can be changed while it runs. |
|
todo-list
command
Command todo-list is a todo list whose items can be selected and ticked off.
|
Command todo-list is a todo list whose items can be selected and ticked off. |
|
tracing
command
Command tracing logs to a file while the terminal is given over to the UI, and shows the last few events it handled.
|
Command tracing logs to a file while the terminal is given over to the UI, and shows the last few events it handled. |
|
user-input
command
Command user-input shows how to handle keyboard input: an input box that records what is typed, and a list of the messages entered so far.
|
Command user-input shows how to handle keyboard input: an input box that records what is typed, and a list of the messages entered so far. |
|
volatility-surface
command
Command volatility-surface draws a 3D wireframe in the terminal: an implied volatility surface you can turn, tilt and zoom while it moves.
|
Command volatility-surface draws a 3D wireframe in the terminal: an implied volatility surface you can turn, tilt and zoom while it moves. |
|
weather
command
Command weather draws a day of made-up temperatures as a vertical bar chart, one bar per hour, coloured from yellow through to red.
|
Command weather draws a day of made-up temperatures as a vertical bar chart, one bar per hour, coloured from yellow through to red. |
|
widget-ref-container
command
Command widget-ref-container keeps widgets of different types in one container and renders them down the screen.
|
Command widget-ref-container keeps widgets of different types in one container and renders them down the screen. |
|
widgets
|
|
|
barchart
command
Command barchart shows catatui's BarChart widget in both directions.
|
Command barchart shows catatui's BarChart widget in both directions. |
|
barchart-grouped
command
Command barchart-grouped shows catatui's BarChart widget with grouped bars.
|
Command barchart-grouped shows catatui's BarChart widget with grouped bars. |
|
block
command
Command block shows catatui's Block widget: borders, styles and border types.
|
Command block shows catatui's Block widget: borders, styles and border types. |
|
calendar
command
Command calendar shows catatui's Monthly widget with two styled months.
|
Command calendar shows catatui's Monthly widget with two styled months. |
|
canvas
command
Command canvas shows catatui's Canvas widget: a world map with shapes and points drawn over it.
|
Command canvas shows catatui's Canvas widget: a world map with shapes and points drawn over it. |
|
chart
command
Command chart shows catatui's Chart widget: a line plot and a filled area plot sharing a pair of axes.
|
Command chart shows catatui's Chart widget: a line plot and a filled area plot sharing a pair of axes. |
|
collapsed-borders
command
Command collapsed-borders shows four blocks sharing their borders, with the selected one drawn on top in a thick border.
|
Command collapsed-borders shows four blocks sharing their borders, with the selected one drawn on top in a thick border. |
|
gauge
command
Command gauge shows catatui's Gauge and LineGauge widgets.
|
Command gauge shows catatui's Gauge and LineGauge widgets. |
|
line-gauge
command
Command line-gauge shows catatui's LineGauge widget filling up over time.
|
Command line-gauge shows catatui's LineGauge widget filling up over time. |
|
list
command
Command list shows catatui's List widget, including a bottom-to-top list.
|
Command list shows catatui's List widget, including a bottom-to-top list. |
|
logo
command
Command logo draws the catatui logo in an inline viewport: three rows at the shell's cursor, leaving the scrollback above them untouched.
|
Command logo draws the catatui logo in an inline viewport: three rows at the shell's cursor, leaving the scrollback above them untouched. |
|
paragraph
command
Command paragraph shows catatui's Paragraph widget: alignment and wrapping.
|
Command paragraph shows catatui's Paragraph widget: alignment and wrapping. |
|
scrollbar
command
Command scrollbar shows catatui's Scrollbar widget, vertical and horizontal, scrolling a paragraph.
|
Command scrollbar shows catatui's Scrollbar widget, vertical and horizontal, scrolling a paragraph. |
|
shadow
command
Command shadow shows catatui's Shadow widget: four ways to cast a shadow behind a popup.
|
Command shadow shows catatui's Shadow widget: four ways to cast a shadow behind a popup. |
|
sparkline
command
Command sparkline shows catatui's Sparkline widget, including an animated sine wave.
|
Command sparkline shows catatui's Sparkline widget, including an animated sine wave. |
|
table
command
Command table shows catatui's Table widget with row, column and cell selection.
|
Command table shows catatui's Table widget with row, column and cell selection. |
|
tabs
command
Command tabs shows catatui's Tabs widget over a block of content.
|
Command tabs shows catatui's Tabs widget over a block of content. |
Click to show internal directories.
Click to hide internal directories.