Skip to content

Examples

Every directory under examples/ is a runnable program. Clone the repository and run one from its root, for example go run ./examples/dashboard.

The screens are not mock-ups: each is the first frame the example’s own size-matrix test renders at 80×24, shown with the colours its View produces. Only the 16 basic terminal colours depend on a palette, as in any terminal.

The smallest programs to read first, and the ones the tutorials build.

hello

Source

hello is the first program to read: a text field and two buttons, all of which work with the keyboard and the mouse.





                    ┌──────────────────────────────────────┐
                    │                                      │
                    │ Hello, tui                           │
                    │                                      │
                    │ Your name:  Ada                      │
                    │                                      │
                    │ [ Greet ]  [ Quit ]                  │
                    │                                      │
                    │ Press Enter, or click Greet.         │
                    │                                      │
                    │ F1 help · Tab next · Ctrl+C quit     │
                    │                                      │
                    └──────────────────────────────────────┘

counter

Source

counter is the smallest program that treats the mouse as a first class input.




                ┌──────────────────────────────────────────────┐
                │                                              │
                │ Counter                                      │
                │                                              │
                │                      +0                      │
                │                                              │
                │ ─────────────────────◆────────────────────── │
                │                                              │
                │ [ − ]  [ Reset ]  [ + ]                      │
                │                                              │
                │ Step  1   5   10                             │
                │                                              │
                │ [+ -] change  [s] step  [?] help  [q] quit   │
                │                                              │
                └──────────────────────────────────────────────┘

stopwatch

Source

stopwatch has three tabs: a stopwatch with laps, a countdown timer and a clock that shows the time in a few places.

stopwatch ▸1 Stopwatch   2 Timer   3 Clock
  ┌─┐ ┌─┐   ┌─┐ ┌─┐   ┌─┐ ┌─┐
  │ │ │ │ : │ │ │ │   │ │ │ │
  └─┘ └─┘   └─┘ └─┘ . └─┘ └─┘
   Space Start   l Lap   r Reset 
  Lap   Time        Total       Note
  No laps yet; press l while it runs















0 laps
[1-3] tab  [space] start/stop  [l] lap  [r] reset  [?] help  [q] quit

todo

Source

todo is a task list you can drive with the mouse or the keyboard.

        ┌──────────────────────────────────────────────────────────────┐
        │                                                              │
        │ Tasks                                                        │
        │                                                              │
        │  All 6   Active 5   Done 1                                   │
        │                                                              │
        │ ☑ Read the tutorial                                       ✕  │
        │ ☐ Try the mouse: click a checkbox                         ✕  │
        │ ☐ Scroll with the wheel                                   ✕  │
        │ ☐ Delete this one with its cross                          ✕  │
        │ ☐ Write a first tui program                               ✕  │
        │ ☐ Ship it                                                 ✕  │
        │                                                              │
        │                                                              │
        │                                                              │
        │ + Add a task (click, or press a)                            │
        │                                                              │
        │ 5 left                                            Clear done │
        │                                                              │
        │ [click] tick  [↑↓] move  [a] add  [?] help  [q] quit         │
        │                                                              │
        └──────────────────────────────────────────────────────────────┘

calculator

Source

calculator is a pocket calculator for the terminal.






         ┌───────────────────────────┐  ┌────────────────────────────┐
         │                          0│  │History                     │
         │                           │  │Results appear here.        │
         │───────────────────────────│  │                            │
         │  C      (      )      ÷   │  │                            │
         │  7      8      9      ×   │  │                            │
         │  4      5      6      −   │  │                            │
         │  1      2      3      +   │  │                            │
         │  0      .      ⌫      =   │  │                            │
         │[y] copy  [?] help  …      │  │                            │
         └───────────────────────────┘  └────────────────────────────┘

tutorial

Source

tutorial is the program built step by step in docs/tutorial.md: a task list with a text field, a cursor and a done mark.

Tasks

>  What needs doing?

Nothing yet. Type a task and press enter.

enter add up/down move tab done ctrl+c quit

Sign-in, settings, pickers and colour: text fields, focus and the cursor.

login

Source

login is a sign-in screen: a username, a masked password you can reveal, a remember-me box and a Sign in button.



                 ┌────────────────────────────────────────────┐
                 │                                            │
                 │  Sign in                                   │
                 │                                            │
                 │  Demo account: ada / lovelace1815          │
                 │                                            │
                 │  Username   username                       │
                 │                                            │
                 │  Password  password show                   │
                 │                                            │
                 │                                            │
                 │  [ ] Remember me                           │
                 │                                            │
                 │   Sign in                                  │
                 │                                            │
                 │  [tab] next  [enter] sign in  …            │
                 │                                            │
                 └────────────────────────────────────────────┘

signup

Source

signup is a sign-up wizard in three steps: account, plan (and billing for a paid plan), then a review you confirm.



        ┌──────────────────────────────────────────────────────────────┐
        │                                                              │
        │ Create your account                                          │
        │                                                              │
        │ 1 Account  2 Plan  3 Review                                  │
        │                                                              │
        │ Account  step 1 of 2                                         │
        │ Who is this for?                                             │
        │ Name:  Ada Lovelace                                          │
        │ Email: ada@example.com                                       │
        │ Password:                                                    │
        │   At least 8 characters                                      │
        │                                                              │
        │  ‹ Back    Next ›                                            │
        │                                                              │
        │ [tab] next field  [enter] continue  [pgup] back  …           │
        │                                                              │
        └──────────────────────────────────────────────────────────────┘

settings

Source

settings is a preferences screen: a list of categories on the left, and on the right the switches, sliders and choices of the one you picked.

Settings                                                     All changes applied
 General         │ General
 Appearance      │› Language                           ‹ English            ›
 Editor          │  Check for updates                  ━━● On
 Notifications   │  Restore last session               ━━● On
                 │  Share usage data                   ○━━ Off
                 │
                 │
                 │
                 │
                 │
                 │
                 │
                 │
                 │
                 │
                 │
                 │
                 │
                 │
                 │
 The language of menus and messages.
 Apply    Reset
[tab] pane  [←→] change  [ctrl+s] apply  [ctrl+r] reset  [f1] help  [q] quit

planner

Source

planner books a room: pick a check-in and a check-out day on a calendar, set the two times, and book.

Book a room
‹ October 2026      ›  Pick check-in
Mo Tu We Th Fr Sa Su   Check-in time
          1  2  3  4   15:00
 5  6  7  8  9 10 11   Check-out time
12 13 14 15 16 17 18   11:00
19 20 21 22 23 24 25    Book   Clear
26 27 28 29 30 31
struck-through nights are booked
[←↑↓→] day  [enter] pick  [pgup/pgdn] month  [tab] times  [f1] help

colorlab

Source

colorlab is a colour workbench: set a colour with hue, saturation and lightness sliders or type its hex code, see how readable text in that colour is on white and on black, pick a shade or the complement from a derived palette, copy the hex code, and export the palette as CSS custom properties.

Colour lab
Hue        ━━━━━━━━━━━━━━━━━●━━━━━━━━━━━━ 215°
Saturation ━━━━━━━━━━━━━━━━━━━●━━━━━━━━━━  65%
Lightness  ━━━━━━━━━━━━━━━●━━━━━━━━━━━━━━  53%
Hex        #3A7BD5
                              
 #3A7BD5                      
                              
 Aa  white  4.22 ✓ AA large
 Aa  black  4.97 ✓ AA
        •                 [ Copy ]  [ Export ]  [ Random ]
#3A7BD5
[tab] control  [←→] change  [c] copy  [e] export  [f1] help

Browsing, filtering and watching data: tables, trees, charts, logs and queries.

files

Source

files is a two-pane file browser: folders on the left, the current folder's files on the right with a preview underneath.

 Files   sample
 sample
Folders                     │  Name         Size  Modified
> ▾ sample                  │  ───────────────────────────────────
      assets                │> ▸ assets/    —     —               
    ▸ docs                  │  ▸ docs/      —     —
    ▸ src                   │  ▸ src/       —     —
                            │    apple.txt  6 B   2026-10-01 09:30
                            │    go.mod     14 B  2026-10-01 09:30
                            │    main.go    29 B  2026-10-01 09:30
                            │    README.md  27 B  2026-10-01 09:30
                            │    Zebra.txt  6 B   2026-10-01 09:30
                            │
                            │
                            │───────────────────────────────────────────────────
                            │Preview
                            │assets/
                            │
                            │0 folders, 2 files
                            │Enter opens it.
                            │
                            │
                            │
 assets/                            [tab] pane  [enter] open  [?] help  [q] quit

filedialog

Source

filedialog is an Open and Save As dialog built on package filepicker: browse folders, filter by kind, hide or show the dotfiles, jump to a folder by clicking it in the path bar, and type the first letters of a name to go to it.

Open file
project
Show ▸All files  Go source  Text  Images                     [ ] Show hidden (.)
 > docs/                                        │ docs
 ▸ empty/                                       │ Folder
 ▸ src/                                         │
   README.md                                    │ Modified  2026-10-01 09:30:00
   data.bin                                     │ Mode      drwxr-xr-x
   logo.png                                     │
   main.go                                      │
   notes.txt                                    │
   util.go                                      │
                                                │
                                                │
                                                │
                                                │
                                                │
                                                │
                                                │
                                                │
                                                │
9 entries  ·  All files
                                                        Enter Open   Esc Cancel 
[↑↓] move  [enter] open  [←] up  [.] hidden  [f3] filter  [f2] mode  …

csvedit

Source

csvedit edits a CSV file as a grid: move a cursor over the cells, change one, add and remove rows and columns, sort by a column, undo, and save.

csvedit  sample                                                12 rows × 4 cols
[+Row] [+Col] [−Row] [−Col] [Sort] [Undo] [Redo] [Save]
   city        country    population  area_km2
 1 Tokyo       Japan         37400000      2194 
 2 Delhi       India         31000000      1484
 3 Shanghai    China         27100000      6341
 4 São Paulo   Brazil        22000000      1521
 5 Mexico City Mexico        21800000      1485
 6 Cairo       Egypt         20900000      3085
 7 Mumbai      India         20400000       603
 8 Beijing     China         20000000     16411
 9 Dhaka       Bangladesh    21000000       306
10 Osaka       Japan         19200000       225
11 New York    USA           18800000       783
12 Lagos       Nigeria       15400000      1171







A1 city  "Tokyo"
[enter] edit  [o] row  [s] sort  [ctrl+z] undo  [ctrl+s] save  [f1] help  …

jsonx

Source

jsonx explores a JSON document as a tree: open and close branches, search keys and values, see the path of the selected value and a preview of it, and copy the path or the value.

jsonx  sample.json
$                                                                 [Path] [Value]
▾ $                                         │object · 46 values inside
    status: "ok"                            │{
    generated: "2026-10-18T09:30:00Z"       │  "status": "ok",
  ▸ shop: {4 keys}                          │  "generated": "2026-10-18T09:30:00
  ▸ orders: [2 items]                       │  "shop": {
  ▸ totals: {3 keys}                        │    "name": "Analytical Engines",
                                            │    "open": true,
                                            │    "rating": 4.50,
                                            │    "closed_on": null
                                            │  },
                                            │  "orders": [
                                            │    {
                                            │      "id": 1001,
                                            │      "customer": {
                                            │        "name": "Ada Lovelace",
                                            │        "email": "ada@example.com",
                                            │        "tags": [
                                            │          "vip",
                                            │          "early"
                                            │        ]
47 values · 6 rows shown
[/] search  [n] next  [p] path  [y] value  [E/C] all  [f1] help  [q] quit

pkgs

Source

pkgs is a package manager's browser: a list you filter as you type, a detail pane for the one selected, a pager, and an install queue that installs, updates and removes with a progress bar.

pkgs  All 31   Installed 12   Updates 4
Press / to filter
› ✓ argon                     2.3.0 │argon 2.3.0
  ✓ bytesize                  1.0.2 │✓ installed
    cachet                    0.9.4 │
  ↑ clockwork                 1.3.0 │Command-line flag parsing with
  ✓ colorize                  3.1.0 │sub-commands and shell completion.
    configure                 2.0.0 │
    crontab                   1.2.5 │Size  180 KB
  ✓ csvkit                    4.0.1 │Needs
    difflib                   0.7.0 │  ✓ textwrap
  ↑ dotenv                    1.0.0 │
  ✓ fmtx                      5.2.0 │  Up to date  Remove
    gitlite                   0.4.2
    glob                      1.0.0
    httpmock                  2.1.3
  ↑ jsonpath                  1.5.2
    logr                      3.0.1
    markdowner                2.8.0
    mimetype                  1.3.0
  ✓ pathx                    0.12.0
Queue empty
[1] 2
[/] filter  [enter] install  [x] remove  [tab] tab  [f1] help  [q] quit

launcher

Source

launcher is a command palette for a project: type to narrow the list of commands (a fuzzy match on name and description, the ones you ran last first), press Enter to run one, and read its output below as it arrives.

launcher  sample project, scripted
›  Type a command name…
›  build                    Compile the project                                 
   test                     Run the tests with the race detector
   test-flaky               Run the tests that sometimes fail
   lint                     Check the code with the linters
   fmt                      Format every source file
   bench                    Run the benchmarks
Output appears here














[enter] run  [ctrl+x] cancel  [ctrl+r] rerun  [pgup/pgdn] scroll  [f1] help  …

procmon

Source

procmon is a process monitor: live CPU and memory, and a table you sort by clicking a column header.

 Processes   24 running
CPU  ███████████░░░░░░░░░  54.6%  ▅▆▇██▆▅▆▅▄▄▃▃▂▂▁▂▂▂▁▂▃▃▄▃▃▃▄▄▃▄▅▅▆▇▇▇▇▇█
MEM  ███████████░░░░░░░░░  57.3%  ▇▇▇▇▇██▇▇▇██▇█▇▆▇▇▇▇▆▅▆▆▅▆▅▅▅▅▅▄▄▄▃▃▄▄▃▁
   PID NAME                                       USER       CPU%▼   MEM% STATE
   931 compile                                    mdawais     77.9    3.1 R     
   688 node                                       mdawais     28.2    3.6 R
   142 WindowServer                               _window     23.5    2.7 R
   612 docker                                     mdawais     18.2    5.5 S
   702 Code Helper                                mdawais     14.6    6.8 R
   790 Slack                                      mdawais     10.1    4.5 S
    88 kernel_task                                root         8.9    4.0 R
   703 Code Helper (GPU)                          mdawais      7.7    2.2 S
   930 go                                         mdawais      7.4    1.8 R
   745 Safari                                     mdawais      5.8    9.1 R
   420 postgres                                   postgres     4.9    4.8 S
  1410 Music                                      mdawais      2.9    3.0 S
   421 postgres: writer                           postgres     1.4    0.7 I
   507 redis-server                               redis        1.4    0.6 S
   311 sshd                                       root         1.2    0.6 S
  1201 cupsd                                      root         1.2    0.3 I
  1522 ssh-agent                                  mdawais      1.0    0.1 S
  1044 Spotlight                                  mdawais      0.9    0.6 I
[ Kill ] [ Pause ] [ Filter / ]
[click header] sort  [k] kill  [space] pause  [q] quit

sqlbrowse

Source

sqlbrowse is a read-only SQL browser over a small made-up shop database held in memory: pick a table, write a SELECT, read the result in a grid, export it as CSV, and recall earlier queries.

sqlbrowse  read-only                                     Run   History   Export
 Tables                  │SQL ▸ SELECT * FROM customers LIMIT 20 
 customers 30            │✓ 20 rows × 6 columns in 0s
 orders 80               │    id   name               city     country    signu
 products 15             │ 1    1  Ada Lovelace       Mumbai   India      2024 
 order_items 156         │ 2    2  Alan Turing        Oslo     Norway     2025
                         │ 3    3  Grace Hopper       Cairo    Egypt      2023
 customers               │ 4    4  Edsger Dijkstra    Mumbai   India      2023
  id int                 │ 5    5  Barbara Liskov     Mumbai   India      2024
  name text              │ 6    6  Donald Knuth       Cairo    Egypt      2025
  city text              │ 7    7  Margaret Hamilton  Sydney   Australia  2025
  country text           │ 8    8  Dennis Ritchie     Berlin   Germany    2024
  signup date            │ 9    9  Ken Thompson       Sydney   Australia  2024
  vip bool               │10   10  Linus Torvalds     Mumbai   India      2023
                         │11   11  Radia Perlman      Sydney   Australia  2024
                         │12   12  Tim Berners-Lee    Tokyo    Japan      2023
                         │13   13  Hedy Lamarr        Tokyo    Japan      2023
                         │14   14  John von Neumann   Sydney   Australia  2023
                         │15   15  Katherine Johnson  Toronto  Canada     2025
                         │16   16  Claude Shannon     Tokyo    Japan      2024
                         │17   17  Annie Easley       Cairo    Egypt      2025
                         │18   18  Vint Cerf          Berlin   Germany    2025
query · 4 tables · 1 queries in history
[enter] run  [tab] pane  [ctrl+r] history  [ctrl+t] tables  [ctrl+e] export  …

logtail

Source

logtail follows a log: a file that is still being written, a pipe, or (with neither) a made-up service.

logtail
☑1 TRACE 2 ☑2 DEBUG 3 ☑3 INFO 25 ☑4 WARN 7 ☑5 ERROR 3 [/ filter] [‖ pause] [☑ fo
  09:30:02.877 WARN  slow request POST /static/app.js took 225ms (limit 100ms)
  09:30:03.014 INFO  request  method=PUT  path=/api/orders  status=200  ms=68  b
  09:30:03.151 INFO  request  method=GET  path=/api/users  status=200  ms=114  b
  09:30:03.288 TRACE tick 24
  09:30:03.425 DEBUG cache lookup  key=/healthz:16  hit=true
  09:30:03.562 INFO  worker 4 picked up job 1026
  09:30:03.699 INFO  request  method=GET  path=/api/search  status=200  ms=83  b
  09:30:03.836 DEBUG cache lookup  key=cart:164  hit=false
  09:30:03.973 INFO  request  method=GET  path=/healthz  status=200  ms=16  byte
  09:30:04.110 WARN  retrying  path=/api/cart  status=503  retry_in_ms=300
  09:30:04.247 INFO  request  method=GET  path=/healthz  status=200  ms=29  byte
  09:30:04.384 INFO  worker 7 picked up job 1032
  09:30:04.521 WARN  slow request POST /static/app.js took 409ms (limit 100ms)
  09:30:04.658 INFO  request  method=DELETE  path=/healthz  status=200  ms=6  by
  09:30:04.795 INFO  worker 2 picked up job 1035
  09:30:04.932 INFO  request  method=GET  path=/api/orders  status=200  ms=32  b
  09:30:05.069 DEBUG cache lookup  key=/healthz:246  hit=false
  09:30:05.206 INFO  worker 0 picked up job 1038
  09:30:05.343 INFO  request  method=PUT  path=/api/cart  status=200  ms=27  byt
› 09:30:05.480 INFO  request  method=GET  path=/api/cart  status=200  ms=34  byt
sample service · 40 of 40 lines
[enter] open  [1-5] levels  [/] filter  [space] pause  [f1] help  [q] quit

weather

Source

weather shows a seven-day forecast for a city you search for.

weather
Search ▸  type a city
Recent  1 Berlin                                                            [°C]
Berlin, Germany  fetched 09:30:00 from built-in fixture
Now 1°C  ☁ Overcast  wind 26 km/h
╭───────────╮╭───────────╮╭───────────╮╭───────────╮╭───────────╮╭───────────╮
│Wed 14 Oct ││Thu 15 Oct ││Fri 16 Oct ││Sat 17 Oct ││Sun 18 Oct ││Mon 19 Oct │
│☁ Overcast ││≋ Fog      ││≋ Fog      ││☁ Overcast ││☁ Overcast ││≋ Fog      │
│▲ 3°C      ││▲ -2°C     ││▲ 2°C      ││▲ 6°C      ││▲ 0°C      ││▲ -2°C     │
│▼ -5°C     ││▼ -8°C     ││▼ -6°C     ││▼ -1°C     ││▼ -7°C     ││▼ -9°C     │
│☂ 0.0 mm   ││☂ 0.0 mm   ││☂ 0.0 mm   ││☂ 0.0 mm   ││☂ 0.0 mm   ││☂ 0.0 mm   │
╰───────────╯╰───────────╯╰───────────╯╰───────────╯╰───────────╯╰───────────╯
╭───────────╮
│Tue 20 Oct │
│≋ Fog      │
│▲ 4°C      │
│▼ -4°C     │
│☂ 0.0 mm   │
╰───────────╯
Wed 14 Oct: Overcast, high 3°C, low -5°C, rain 0.0 mm, wind up to 26 km/h


built-in fixture
[enter] open  [tab] days  [r] reload  [u] units  [esc] cancel  [f1] help

charts

Source

charts explores a few made-up data sets as line, scatter, bar and histogram charts: toggle series on and off, zoom into the x axis, drag to pan, and hover to read the values at one place.

charts  Temperature (°C)
 Temperature   Latency   Waves   Growth
 Line   Scatter   Bars   Histogram
 30┤                                 ⣀⣀⣀⣀⡠⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⠤⣀⣀
   │                          ⣀⠤⠔⠒⠊⠉⠉                  ⠉⠉⠒⠒⠤⠤⣀⡀
   │                      ⣀⠤⠒⠉                                ⠈⠉⠑⠢⢄⡀
   │                  ⣀⠤⠒⠉                                         ⠈⠒⢄⡀
 20┤             ⣀⡠⠔⠊⠉                 ⢀⣀⡠⠤⠔⠒⠒⠒⠒⠒⠒⠒⠒⠤⣀                ⠈⠑⠤⣀
   │        ⣀⠤⠔⠒⠉                ⢀⡠⠤⠒⠊⠉⣁⡠⠤⠔⠒⠉⠉⠑⠒⠒⠒⠤⠤⣀ ⠉⠒⠤⣀                ⠉⠒⠤⣀
   │⠒⠒⠒⠊⠉⠉⠉⠉                 ⣀⠤⠒⠉⠁⣀⡠⠔⠊⠉              ⠉⠢⢄  ⠑⠢⢄⡀                ⠉
   │                      ⣀⠔⠊ ⣀⠤⠒⠉                      ⠉⠒⢄⡀ ⠈⠒⠤⣀
 10┤                  ⣀⠤⠒⠉ ⢀⠔⠊                             ⠈⠑⠢⣀  ⠑⠢⢄⡀
   │             ⢀⡠⠔⠊⠉  ⢀⠤⠊⠁                                   ⠉⠒⢄⡀ ⠈⠑⠢⢄
   │         ⢀⡠⠔⠊⠁   ⡠⠔⠊⠁                                         ⠈⠑⠤⡀  ⠉⠒⠤⣀
  0┤⣀⣀⣀⡠⠤⠤⠤⠔⠊⠁   ⢀⠤⠒⠉                                                ⠈⠑⠢⢄⣀⡀ ⠉⠒⠤
   │         ⢀⡠⠔⠊⠁                                                        ⠈⠉⠒⠒⠤
   │⠤⠤⠤⠤⠤⠤⠤⠔⠊⠁
   │
-10┤
   └───────────────────────────────────────────────────────────────────────────
    Jan              Apr                Jun               Sep               Dec
● 1 Berlin  ● 2 Cairo  ● 3 Oslo
all 12 points  ·  hover for values, wheel to zoom, drag to pan
[←→] cursor  [+/-] zoom  [tab] data  [t] type  [1-3] series  [f1] help  [q] quit

dashboard

Source

dashboard is a system monitor: CPU, memory, disks, network and the busiest processes in panels that update every second.

dashboard  simulated machine
╭─ CPU ─────────────────────────────────────────────────────────────────── 53% ╮
│Total  53%   load 4.04 3.78 3.27                                              │
│▃▃▄▄▄▄▅▆▆▇█▇▇▆▅▄▄▃▄▅▄▄▄▃▂▂▂▁▃▂▄▅▃▃▂▁▁▁▂▂▇▆▇▆▅▅▅▆▆▆▆▅▄▄▃▃▁▂▂▃▃█▆▆▇█▇▇▇▆▅▄▅▅▅▅▆▆│
│core 0 █████████████████████████████████████████████████████████████████░░░░░░│
│core 1 ████████████████████████████████████████████████████████████████████░░░│
│core 2 ██████████████████████████████████████████████████░░░░░░░░░░░░░░░░░░░░░│
│core 3 ████████████████████████████████████████████████████████████████░░░░░░░│
│core 4 ██████████████████████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
│core 5 ███████████████████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
│core 6 ███████████████████████████████████████████████████████████████████████│
│core 7 █████████████████████████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░│
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
● live  every 1s  120 samples                                                CPU
[tab] panel  [enter] zoom  [< >] move  [space] pause  [+/-] speed  [f1] help  …

Reading and editing: a pager, a notepad, markdown, source code and bytes.

pager

Source

pager reads a file or standard input the way less does: page and line scrolling, search with highlighted matches, a percent bar you can click, optional line numbers and wrapping, and a follow mode for files that grow.

PAGER SAMPLE
============

This text stands in for a file. Press / to search, w to wrap, # for line
numbers, F to follow, ? for help.

Section 1
---------
   1.1  The quick brown fox number 11 jumps over the lazy dog, then reads a long
 line that is wide enough to need wrapping or sideways scrolling in a narrow win
dow.
   1.2  The quick brown fox number 12 jumps over the lazy dog, then reads a long
 line that is wide enough to need wrapping or sideways scrolling in a narrow win
dow.
   1.3  The quick brown fox number 13 jumps over the lazy dog, then reads a long
 line that is wide enough to need wrapping or sideways scrolling in a narrow win
dow.
   1.4  The quick brown fox number 14 jumps over the lazy dog, then reads a long
 line that is wide enough to need wrapping or sideways scrolling in a narrow win
dow.
   1.5  The quick brown fox number 15 jumps over the lazy dog, then reads a long
 line that is wide enough to need wrapping or sideways scrolling in a narrow win
sample  lines 1–22 of 139                                      ────────────   0%
[space] page  [/] search  [n] next  [w] wrap  [#] numbers  [F] follow  …

notepad

Source

notepad is a small text editor.

 File  Edit  View
 1 package main                                                                 
 2
 3 import "fmt"
 4
 5 // greet says hello to each name.
 6 func greet(names []string) {
 7     for _, n := range names {
 8         fmt.Println("hello,", n)
 9     }
10 }
11
12 func main() {
13     greet([]string{"Ada", "Grace", "Linus"})
14 }
15






 main.go                                                  Ln 1, Col 1  15 lines
[ctrl+s] save  [ctrl+o] open  [ctrl+f] find  [f1] help  [ctrl+q] quit

mdstudio

Source

mdstudio is a Markdown editor with a live preview: the text on the left, the rendered document on the right, and a list of the headings (the outline) beside them.

mdstudio untitled.md                              [H][B][I][`][Link][List][Save]
 1 # Release notes                     │Release notes
 2                                     │
 3 Welcome to **mdstudio**. Edit on the│Welcome to mdstudio. Edit on the left
    left and the preview on the right f│and the preview on the right follows
   ollows                              │you. Press ctrl+b to make the selection
 4 you. Press `ctrl+b` to make the sele│bold.
   ction **bold**.                     │
 5                                     │What changed
 6 ## What changed                     │
 7                                     │• A new pager example reads files like
 8 - A new `pager` example reads files │  less
   like less                           │• The table is much faster
 9 - The table is *much* faster        │• Mouse support everywhere
10 - Mouse support everywhere          │
11                                     │Numbers
12 ### Numbers                         │
13                                     │Area    │ Before │ After
14 | Area      | Before | After |      │────────────────────────
15 |-----------|--------|-------|      │Frame   │ 120 µs │ 64 µs
16 | Frame     | 120 µs | 64 µs |      │Startup │ 11 ms  │ 4 ms
17 | Startup   | 11 ms  | 4 ms  |      │
 editor  Ln 1, Col 1  130 words  5 headings                                     
[ctrl+w] pane  [ctrl+s] save  [ctrl+b] bold  [f1] help  [ctrl+q] quit

codebrowse

Source

codebrowse browses a source folder: a tree of the files on the left, the selected file on the right with line numbers and syntax colours.

codebrowse  demo
demo/go.mod                                                text · Ln 1/3 · 21 B
▸ bin                         │›1 module demo                                   
▸ docs                        │ 2
▸ pkg                         │ 3 go 1.22
  go.mod                      │
  main.go                     │
  README.md                   │
                              │
                              │
                              │
                              │
                              │
                              │
                              │
                              │
                              │
                              │
                              │
                              │
                              │
                              │
[tab] pane  [:] line  [/] search  [n] next  [.] dot files  [f1] help  [q] quit

docsreader

Source

docsreader reads a folder of Markdown files as a small documentation site in the terminal: a sidebar of the pages with the headings of the open one, links you can follow from page to page, back and forward through where you have been, and search across every page.

docsreader  Parcel docs                                                  [‹] [›]
 Parcel docs                 │Parcel docs
   What is in here           │
 FAQ                         │Parcel moves small files between machines. Start
 Quick start                 │with the quick start (quickstart.md), read about
 Testing                     │the table widget (widgets/table.md), or see the
 Forms                       │FAQ (faq.md).
 Table                       │
                             │What is in here
                             │
                             │• Quick start (quickstart.md): send your first
                             │  file
                             │• Table (widgets/table.md) and Forms
                             │  (widgets/forms.md): the two screens you will
                             │  use most
                             │• Testing (testing.md): check a transfer without
                             │  a network
                             │• FAQ (faq.md): the questions people ask first
                             │
                             │The project lives at example.com/parcel
                             │(https://example.com/parcel).
                             │
6 pages · README.md
[tab] link  [/] search  [s] sidebar  [bksp] back  [?] help  [q] quit

hexedit

Source

hexedit edits a file as bytes: the offset, the bytes in hex and the same bytes as text, side by side, with a cursor, a selection, search, go to offset, insert and delete, undo, and a small inspector that reads the bytes under the cursor as numbers.

hexedit
          00 01 02 03 04 05 06 07  08 09 0a 0b 0c 0d 0e 0f
00000000  47 49 46 38 39 61 40 01  f0 00 f7 00 00 0a 54 68  GIF89a@·······Th
00000010  65 20 71 75 69 63 6b 20  62 72 6f 77 6e 20 66 6f  e quick brown fo
00000020  78 20 6a 75 6d 70 73 20  6f 76 65 72 20 74 68 65  x jumps over the
00000030  20 6c 61 7a 79 20 64 6f  67 2e 0a 00 00 00 00 00   lazy dog.······
00000040  01 02 03 04 05 06 07 08  09 0a 0b 0c 0d 0e 0f 10  ················
00000050  11 12 13 14 15 16 17 18  19 1a 1b 1c 1d 1e 1f 20  ···············
00000060  21 22 23 24 25 26 27 28  29 2a 2b 2c 2d 2e 2f 30  !"#$%&'()*+,-./0
00000070  31 32 33 34 35 36 37 38  39 3a 3b 3c 3d 3e 3f 40  123456789:;<=>?@
00000080  41 42 43 44 45 46 47 48  49 4a 4b 4c 4d 4e 4f 50  ABCDEFGHIJKLMNOP
00000090  51 52 53 54 55 56 57 58  59 5a 5b 5c 5d 5e 5f 60  QRSTUVWXYZ[\]^_`
000000a0  61 62 63 64 65 66 67 68  69 6a 6b 6c 6d 6e 6f 70  abcdefghijklmnop
000000b0  71 72 73 74 75 76 77 78  79 7a 7b 7c 7d 7e 7f 80  qrstuvwxyz{|}~··
000000c0  81 82 83 84 85 86 87 88  89 8a 8b 8c 8d 8e 8f 90  ················
000000d0  91 92 93 94 95 96 97 98  99 9a 9b 9c 9d 9e 9f a0  ················
000000e0  a1 a2 a3 a4 a5 a6 a7 a8  a9 aa ab ac ad ae af b0  ················
000000f0  b1 b2 b3 b4 b5 b6 b7 b8  b9 ba bb bc bd be bf c0  ················
00000100  c1 c2 c3 c4 c5 c6 c7 c8  c9 ca cb cc cd ce cf d0  ················
00000110  d1 d2 d3 d4 d5 d6 d7 d8  d9 da db dc dd de df e0  ················
00000120  e1 e2 e3 e4 e5 e6 e7 e8  e9 ea eb ec ed ee ef f0  ················
sample  319 bytes  0x0 = 47  hex OVR                                            
[tab] pane  [/] find  [:] goto  [ins] insert  [ctrl+z] undo  [ctrl+s] save  …

Programs that are mostly mouse: dragging cards, drawing, a snake, a mine field and an animated splash.

kanban

Source

kanban is a three-column task board: To do, Doing and Done.

kanban  2 of 8 done
 To do (4)                 Doing (2)                 Done (2)
▌Write the release notes   Review the form groups p  Cut rc.1
 Fix the flaky resize tes  Record the demo for the   Add the colour toolkit
 Reply to the issue about
 Plan the v1 freeze















 + add                     + add                     + add
8 cards  ·  drag a card to another column
[←→↑↓] select  [<>] move  [a] add  [e] rename  [d] delete  [?] help  [q] quit

paint

Source

paint draws on a canvas of coloured pixels: pen, eraser, line, rectangle and flood fill, eight colours, three brush sizes, undo and redo, and save as text.

paint ▸Pen   Eraser   Line   Rect   Fill  brush 1
[1██] 2██  3██  4██  5██  6██  7██  8██
┌──────────────────────────────────────────────────────────────────────────────┐
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘
39x18 pixels  ·  saved
[p e l r f] tool  [1-8] colour  [space] draw  [u] undo  [s] save  [?] help  …

snake

Source

snake is the classic: steer the snake to the apples, grow, and do not hit a wall or yourself.

snake  score 0  best 0  speed 2/5  [pause]  [restart]  [-]  [+]
┌──────────────────────────────────────────────────────────────────────────────┐
│· · · ◆ · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · │
│· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · │
│· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · │
│· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · │
│                         Press an arrow key or click                          │
│                                   to start                                   │
│· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · │
│· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · │
│· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · │
│· · · · · · · · · · · · · · · · · ▓▓▓▓██· · · · · · · · · · · · · · · · · · · │
│· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · │
│· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · │
│· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · │
│· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · │
│· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · │
│· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · │
│· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · │
│· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · │
│· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · │
└──────────────────────────────────────────────────────────────────────────────┘
eat ◆ to grow; walls and your own body end the game
[←↑↓→] steer  [p] pause  [r] restart  [+/-] speed  [?] help  [q] quit

minesweeper

Source

minesweeper is the classic mine field in three sizes.

minesweeper  mines 10  time 0  [:) new]  [1 9x9]  [2 16x16]  [3 30x16]
┌──────────────────┐
│■ ■ ■ ■ ■ ■ ■ ■ ■ │
│■ ■ ■ ■ ■ ■ ■ ■ ■ │
│■ ■ ■ ■ ■ ■ ■ ■ ■ │
│■ ■ ■ ■ ■ ■ ■ ■ ■ │
│■ ■ ■ ■ ■ ■ ■ ■ ■ │
│■ ■ ■ ■ ■ ■ ■ ■ ■ │
│■ ■ ■ ■ ■ ■ ■ ■ ■ │
│■ ■ ■ ■ ■ ■ ■ ■ ■ │
│■ ■ ■ ■ ■ ■ ■ ■ ■ │
└──────────────────┘
Beginner: 10 mines. The first click is safe
[←↑↓→] move  [space] open  [f] flag  [c] chord  [n] new  [?] help  [q] quit

fireandfx

Source

fireandfx is an animated splash made of three scenes: doom-fire, a plasma and a typewriter.

fireandfx ▸1 Fire   2 Plasma   3 Typewriter  [e Dissolve]






 .   ...  .          .         .      .. ..              .      .  .    .
...   ..:..  ... ....... ..  .  :.. . .....            ..:.  . ..... .  ..  .. .
.:::..:..:....:.:.::::..:.:.........:..:...................:::::.:...:.....::.::
-::-:::::.-::::::::::::::.:::.:::.::::::..::::::..:::.:..::::::::-:.::::.:::.::-
--==-=-:-::::::---=:---:--::-:-::--:---:--::-:::::::::=::::::::--------:--:::-::
-----:--==-=--:-=-=-=====-------=-------=-=-:--=---=-=--==--==---=-=-==-----=---
====-==-+===-==+======+=-===================-=+========++========-=--===-==-====
++===+=++++++++==+++++====+=+=++++++=+=+==+==+++++=++++==+++==++++====++==+++=++
++++++++++++++++++*++*+++++++++*+++++++++++++++*++++++++++++*++++*++++++*+++++++
***+************+*******+**+*+***##*+******#*****++**#*+****+******+*#**********
*###*#######***###*#*####**##*##*#####*###**##########*##*#*######*#**#*########
###############%%#%####%#####%#%%###%##%#%#####%####%##%#%##%#########%##%#%###%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%@@@%%%%%%@%@%%@%@%%%%@@%%%@%%@@@%@@%@%@@@%@%@%@@%%@%%%@@%%@%@@@%@@@%@%@@%
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
playing  ·  speed 1/4  ·  Dissolve 100%
[1-3] scene  [e] effect  [space] pause  [+/-] speed  [n] step  [?] help  …

Split panes, screens with a back button, chat and agent shells, and the workbenches for layout, themes and input.

workspace

Source

workspace is an editor-style window split into three panes with tabs: an explorer on the left, an editor at the top right and a panel at the bottom right.

workspace
▸Files  Outline    1/18 │▸main.go  notes.md  todo.txt                      1/26
▾ workspace             │   1  package main
  ▾ cmd                 │   2
      main.go           │   3  import (
  ▾ internal            │   4      "flag"
    ▸ cache             │   5      "fmt"
    ▸ config            │   6      "os"
    ▸ server            │   7  )
      doc.go            │   8
  ▾ testdata            │   9  // run starts the server and waits for it to stop
      golden.txt        │  10  func run(addr string) error {
      sample.json       │  11      s := newServer(addr)
    README.md           │───────────────────────────────────────────────────────
    go.mod              │▸Output  Problems  Log                            1/31
    go.sum              │build step 1 of 30: ok
    Makefile            │build step 2 of 30: ok
    LICENSE             │build step 3 of 30: ok
    CHANGELOG.md        │build step 4 of 30: ok
    .gitignore          │build step 5 of 30: ok
                        │build step 6 of 30: ok
                        │build step 7 of 30: ok
Editor focused  ·  main.go
[tab] pane  [.,] tab  [[ ]] resize  [c] collapse  [z] zoom  [?] help  [q] quit

desktop

Source

desktop is a small windowing system in the terminal: four windows (a clock, a counter, a notepad and an event log) that you drag by the title bar, resize by an edge, stack, hide to a task bar, close and bring back, and a modal dialog that blocks the rest until you answer.

desktop  4 windows
· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
· ┌ Clock ────────────[✗]┐· · · · · · · · · · · · · · · · · · · · · · · · · · ·
· │                      │· · ┌ Counter ──────────[✗]┐· · · · · · · · · · · · ·
· │  09:00:00            │· · │                      │· · · · · · · · · · · · ·
· │                      │· · │   [ - ]     0  [ + ] │· · · · · · · · · · · · ·
· │  up 0 s              │· · │                      │· · · · · · · · · · · · ·
· │  4 windows open      │· · │   [ reset ]          │· · · · · · · · · · · · ·
· │ ┌ Notes ────────────────────────[✗]┐             │· · · · · · · · · · · · ·
· └─│ Type here. Drag the window by it │ork from the │· · · · · · · · · · · · ·
· · │ s title bar.▌                    │             │· · · · · · · · · · · · ·
· · │                                  │─┌ Event log ───────────────────[✗]┐· ·
· · │                                  │·│ 09:00:00  started               │· ·
· · │                                  │·│                                 │· ·
· · │                                  │·│                                 │· ·
· · │                                  │·│                                 │· ·
· · │                                  │·│                                 │· ·
· · └──────────────────────────────────┘·│                                 │· ·
· · · · · · · · · · · · · · · · · · · · ·└─────────────────────────────────┘· ·
· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
 ▢ Clock  ▢ Counter  ▣ Notes  ▢ Event log                              09:00:00
Notes  ·  4,7  36x10
[tab] window  [f2] maximize  [f3] reopen  [f4] close  [f5] hide  [f6] move  …

routerapp

Source

routerapp is a small multi-screen app: a sidebar of sections, a breadcrumb trail, a back button, and a stack of screens that you push by opening an item and pop by going back.

‹ Back Home
────────────────────────────────────────────────────────────────────────────────
▎⌂ Home         │ Welcome back
 ☺ Customers    │ 12 customers, 36 orders, 2 shipped
 ▤ Orders       │
 ⚙ Settings     │ Go to
                │▸ ☺ Customers                                                  
                │  ▤ Orders
                │  ⚙ Settings
                │
                │
                │
                │
                │
                │
                │
                │
                │
                │
                │
                │
                │
Home
[tab] sidebar  [enter] open  [esc] back  [s] star  [m] ship  [?] help  [q] quit

chat

Source

chat is a small chat client with channels, message history, an input line, a typing indicator and replies that stream in.

chat                                                                      ? help
 #general        │mira  09:12
 #design       2 │  Morning! The release branch is cut and the checks are green.
 #random       1 │jon  09:15
                 │  Great. I will write the changelog after lunch.
                 │mira  09:16
                 │  Please keep it short: one line per change, newest first.
                 │you  09:20
                 │  On it. Do we mention the scroll region fix?
                 │
                 │
                 │
                 │
                 │
                 │
                 │
                 │
                 │
                 │
                 │
                 │
                 │
›  Write a message and press Enter
[Enter] send  [ctrl+n] channel  [PgUp/PgDn] scroll  [?] help  [ctrl+q] quit

codeagent

Source

codeagent is the shell of a coding agent, driven by a script so it runs offline: a transcript of what you asked and what the agent said, tool calls shown as cards, and a prompt at the bottom.

codeagent  ~/tui  ·  layout/
· Ask for something: "fix the failing test", "delete the build directory" or
· "explain the layout package". /help lists the commands.


















ready  ·  0 tokens  ·  scripted-1
❯  Ask the agent… (/help)
[enter] send  [y/n] approve/deny  [↑↓] history  [pgup] scroll  [esc] stop  …

layoutlab

Source

layoutlab is a workbench for the layout package.

layoutlab
▸1 Flex   2 Grid   3 Wrap   4 Anchor
▸direction        ◂░░░░░░░░░░▸ Row            │┌ 31x12 (cut from 60x12) ───────┐
 gap              ◂██░░░░░░░░▸ 1              ││╔════════╗ ┌──────┐ ┌─────────┐│
 justify          ◂░░░░░░░░░░▸ Start          ││║        ║ │      │ │         ││
 children         ◂███░░░░░░░▸ 3              ││║        ║ │      │ │         ││
 child            ◂░░░░░░░░░░▸ 0              ││║        ║ │      │ │         ││
   basis          ◂██░░░░░░░░▸ 10             ││║        ║ │      │ │         ││
   grow           ◂░░░░░░░░░░▸ 0              ││║        ║ │      │ │         ││
   shrink         ◂██░░░░░░░░▸ 1              ││║1 10x12 ║ │2 8x12│ │ 3 11x12 ││
   min            ◂░░░░░░░░░░▸ 0              ││║        ║ │      │ │         ││
   max (0: none)  ◂░░░░░░░░░░▸ 0              ││║        ║ │      │ │         ││
   cross align    ◂░░░░░░░░░░▸ Stretch        ││║        ║ │      │ │         ││
 width            ◂████░░░░░░▸ 60             ││║        ║ │      │ │         ││
 height           ◂██░░░░░░░░▸ 12             ││╚════════╝ └──────┘ └─────────┘│
                                              │└───────────────────────────────┘
                                              │Rectangles  [c] code
                                              │ c0     x=0   y=0   w=10  h=12
                                              │ c1     x=11  y=0   w=8   h=12
                                              │ c2     x=20  y=0   w=11  h=12
                                              │
                                              │
direction = Row  ·  Flex
[1-4] mode  [↑↓] setting  [←→] change  [c] code  [r] reset  [?] help  [q] quit

themestudio

Source

themestudio is a workshop for themes: pick one of the twenty built-in themes, change any of its fifteen colours with red, green and blue sliders or a hex code, and watch a sample screen redraw at once.

themestudio ◂ tokyo-night ▸ 20/20
▸ ██ Primary      #7aa2f7     │Primary  #7aa2f7  ████  6.79:1 on background  ✓ A
  ██ Secondary    #bb9af7     │▸R ███████████████░░░░░░░░░░░░░░░░░ 122
  ██ Success      #9ece6a     │G ████████████████████░░░░░░░░░░░░ 162
  ██ Warning      #e0af68     │B ██████████████████████████████░░ 247
  ██ Error        #f7768e     │[x reset] [0 all] [b border: base] [g glyphs: bas
  ██ Info         #7dcfff     │ Preview · tokyo-night                           
  ██ Muted        #565f89     │ Body text in the text colour, and muted for the 
  ██ Text         #c0caf5     │  Primary   Secondary  ▌ focused                 
  ██ Text inverse #1a1b26     │ ✓ done  ⚠ careful  ✗ failed  ℹ note             
  ██ Border       #292e42     │ ██████████░░░░░░░░ 60%                          
  ██ Focus        #7aa2f7     │ ▾ tree • muted item   selected row              
  ██ Selection    #283b4d     │ Tab one  Tab two  Tab three                     
  ██ Background   #1a1b26     │ ┌──────────────────────────┐                    
  ██ Surface      #242632     │ │ A card on the surface    │                    
  ██ Overlay      #2e303f     │ └──────────────────────────┘                    
                              │  Overlay: menu or dialog                        
                              │ Below 4.5:1: Muted 2.8
                              │
                              │
                              │
                              │
No changes to tokyo-night yet; saving writes the base alone
[↑↓] colour  [tab] slider  [←→] change  [[ ]] base  [s] save  [?] help  [q] quit

inputlab

Source

inputlab shows every key, mouse, paste, focus and resize event as it arrives, decoded the way the library hands it to Update, plus what the terminal said it can do.

inputlab  ● keys 0  ● mouse 0  ● paste 0  ● other 1  ● join motion  [pause]  [cl
   1 resize  80x24




















1 events  ·  last gap 0s
[ctrl+c] quit  [ctrl+p] pause  [ctrl+l] clear  [f2-f6] filters  [f1] help

probe

Source

probe shows what your terminal supports, using the library's opt-in capability options: colour depth (with NO_COLOR, COLORTERM and TERM honoured), focus in/out reporting, and OSC 11 background detection.

tui probe: what does your terminal do?

  TERM="xterm-256color"  COLORTERM="truecolor"  NO_COLOR=""
  Colour profile:  truecolor   (detected; drives the strip below)
                                                  

  Focus reports:   in=0 out=0  last=unknown   (click another window, then back)
  Background:      waiting  theme=-   (asked once at start, 700ms timeout)
  Last key:        -
  Size (resize):   80x24

  q or ctrl+c to quit; a summary line stays in your scrollback
  probe: profile=truecolor focus_in=0 focus_out=0 background=waiting theme=-
  focus timeline:
    focus reporting enabled: (not yet)

Programs that draw in the normal scrollback instead of the alternate screen; their first frame is small by design.

buildstatus

Source

buildstatus runs a made-up build pipeline in the terminal's own scrollback (no alternate screen): eight steps with dependencies, several running at once, each with a spinner, a progress bar and its latest line of output.

Building  0.0s  ·  0/8 done  ·  1 running, up to 3
⠋ fetch modules   ░░░░░░░░░░ 0%
· compile ansi    waits for fetch modules
· compile layout  waits for fetch modules
· compile widgets waits for fetch modules
· link tui        waits for compile ansi, compile layout, compile widgets
· vet             waits for compile ansi, compile layout, compile widgets
· test            waits for link tui
· package         waits for link tui, vet, test
ctrl+c cancel  ·  +/- jobs  ·  v output  ·  ? help
  • internal
  • ssh: ssh serves a chat lobby over SSH, so anyone who connects gets their own copy of the program in their own terminal and everyone sees the same room, the way Charm’s wish does for Bubble Tea:
  • survey: survey is a short questionnaire at the command line, with no Model of its own: every question is one call of package prompt, and nothing takes over the screen.
  • tutorial2: tutorial2 is the program built in docs/tutorial-2.md: the task list of the first tutorial with a list that narrows as you type and a column of counts, using picker’s Filter.