From bbcca571689a5735241747c249cf56b071383e8e Mon Sep 17 00:00:00 2001 From: varrockbank Date: Wed, 14 Jan 2026 10:58:32 +0100 Subject: [PATCH 1/5] samples: convert examples list to table layout with bullets --- samples/index.html | 50 ++++++++++++++++++++++++++-------------------- 1 file changed, 28 insertions(+), 22 deletions(-) diff --git a/samples/index.html b/samples/index.html index f4fe9935..0237e0cb 100644 --- a/samples/index.html +++ b/samples/index.html @@ -5,6 +5,12 @@ buffee - Examples + @@ -18,32 +24,32 @@

Examples

Core

- + + + + +
sample-basicSimple editable text editor
sample-gutter-statusGutter and status bar options
sample-sizingEditor sizing with character units

Combinators

- + + + + + + + + + + + +
sample-historyUndo/redo with history combinator
sample-undotreeTree-based undo with branch navigation
sample-syntaxRegex-based syntax highlighting
sample-elementalsLayer-based UI elements (DOM nodes)
sample-tuiTUI elements via text manipulation
sample-loaderLoad files with millions/billions of lines
sample-readonlyRead-only mode (TUI and UHC)
sample-iosiOS touch and keyboard support
sample-sanitizeTab and Unicode sanitization
sample-vimmotionVim-style motion commands

Fun Examples

- + + + + +
sample-movieStar Wars ASCII animation player
sample-matrixMatrix digital rain effect
sample-conwayConway's Game of Life
From 446ba98f28c30aae7c3da5cfb2e79e45ae35c445 Mon Sep 17 00:00:00 2001 From: varrockbank Date: Wed, 14 Jan 2026 11:04:07 +0100 Subject: [PATCH 2/5] samples: add source links to combinator pages --- samples/sample-elementals.html | 1 + samples/sample-history.html | 1 + samples/sample-ios.html | 1 + samples/sample-loader.html | 1 + samples/sample-readonly.html | 1 + samples/sample-sanitize.html | 1 + samples/sample-syntax.html | 1 + samples/sample-tui.html | 1 + samples/sample-undotree.html | 1 + samples/sample-vimmotion.html | 1 + 10 files changed, 10 insertions(+) diff --git a/samples/sample-elementals.html b/samples/sample-elementals.html index fa8612e1..ee4b8f28 100644 --- a/samples/sample-elementals.html +++ b/samples/sample-elementals.html @@ -52,6 +52,7 @@

home / samples / Elementals

Elementals - Layer-based UI

+

combinators/elementals.js

Unlike tui-legacy which manipulates text content, Elementals creates actual DOM elements in a layer above the text.

Press Tab to navigate, Enter to activate

diff --git a/samples/sample-history.html b/samples/sample-history.html index ae733268..0ddc61a5 100644 --- a/samples/sample-history.html +++ b/samples/sample-history.html @@ -22,6 +22,7 @@

home / samples / History Combinator

History Combinator (Undo/Redo)

+

combinators/history.js

History tracking is opt-in. By default, editors have no undo/redo.

Without History

diff --git a/samples/sample-ios.html b/samples/sample-ios.html index 586e4de1..a7b64319 100644 --- a/samples/sample-ios.html +++ b/samples/sample-ios.html @@ -22,6 +22,7 @@

home / samples / iOS Support

iOS Support

+

combinators/ios.js

Touch interactions and on-screen keyboard input for iOS devices.

JavaScript

diff --git a/samples/sample-loader.html b/samples/sample-loader.html index 62625cdc..a3ff17ae 100644 --- a/samples/sample-loader.html +++ b/samples/sample-loader.html @@ -47,6 +47,7 @@

home / samples / Ultra High Capacity

Ultra High Capacity

+

combinators/fileloader.js | combinators/ultrahighcapacity.js

Load and display files with millions or billions of lines using various loading strategies.