Changes
0.10
Released on 2026-11-30.
hotty's 0.10 hosts and SDKs speak 0.9 too, and no longer 0.8 (SPEC.md §15), so versions meet as follows (§4, §14):
- a 0.9 program on a 0.10 host that speaks 0.9 is answered in 0.9, and
hears 0.9's events from then on: no
pointerevent, nopointer,fingerorcutin a detail, nogestureorwheelread fromdata-on, and a touch's drag that a second finger ends (HOST.md §5). Its surfaces' media features follow the device, as in every session; - a 0.10 program, whose query lists
0.9,0.10, on a 0.9 host is answered in 0.9, and hears none of 0.10's events there (SDK.md §3.8); - an 0.8 program meets a 0.10 host at
EVERSION, as a host or a program that speaks only 0.10 meets a 0.9 one, and the program falls back.
Versions compare as numbers: 0.10 is after 0.9 (SPEC.md §4).
What changed
- The media features follow the device that draws (SPEC.md §8;
HOST.md §4.2).
pointer,any-pointer,hoverandany-hoverare the drawing host's device's, in every session, and a change draws every surface again, asprefers-color-schemedoes. The program hears nothing:@media (pointer: coarse)makes a phone's targets big with no code of the program's. - The kind of pointer (SPEC.md §9). A
click,press,contextmenu,dragstart,gesturestartandwheelcarry"pointer":"mouse","pen"or"touch", Pointer Events' names; a touchpad is"mouse". None from the keyboard. A program takes a kind it does not know as"mouse".pointer, an event of the terminal, asked for by the query, says the user pressed, touched or scrolled with another kind than the program last heard of, before what the input makes. A move alone sends none. A multiplexer sends each pane's own.
- A drag per finger (SPEC.md §9.1). A finger that touches while
others drag or are undecided is decided on its own: it drags, taps or
long-presses, and never pans. Each touch drag's events carry
finger, the lowest number no finger down holds. A tap among fingers is a press and a click the host makes. Once a finger pans, the rest are the host's, as before. cuton adragendthat something other than the release ended: a gesture, a hide, a new document, a lost pointer (SPEC.md §9.1).- Gestures (SPEC.md §9.8).
gestureindata-onmakes two fingers on the element a gesture:gesturestart, thengestureat most once a frame withscale,angle(degrees, clockwise, counted on) and the centre's cell and step, thengestureend. It takes over a first finger's drag (withcut) or pan; a quick second finger is a tap; a third joins. Over such an element a pinch is not the host's. A touchpad's pinch over it is the same gesture,"pointer": "mouse", its centre moving where the platform says. - The wheel for an element that asks (SPEC.md §9.9).
wheelindata-onmakes the wheel over the element its own: nothing scrolls, andwheelcarriesdxanddyin CSS pixels, the pointer's cell and step,mods(Ctrl included),pointer, andprecise, whether the device scrolls by pixels or by notches. Summed, at most one a frame. - A tie drags where no pan is allowed (SPEC.md §9.1): a first move
as far across as down pans only where the
touch-actionallows a pan along an axis, and drags undernone. - A host may bounce and coast (SPEC.md §5.3): a precise scroll past
an edge springs back, and a fling coasts, honouring
overscroll-behaviorand reduced motion. The program hears nothing of the bounce.
Upgrading from 0.9
A program:
- Ask for
v=0.10, orv=0.9,0.10to speak both. Compare versions as numbers. - Read
pointerwhere it adapts to the device, and thepointerevent in the cells; take an unknown kind, and none, as the mouse. A press with notnow has a detail, itspointer. - Key touch drags by
sandfinger, not by the surface alone: two fingers may drag at once, on one element or two. Drop what adragendwithcutended. - Take pinches, turns and two-finger pans with
gesture, and the wheel in pixels withwheel. For a 0.9 host as well, offer another way to zoom and pan. - Style for touch with
pointerandhovermedia queries: no capability says it. - Size what follows the cell from each
caps:cellcssmay change in a session (SDK.md §4.8).
An SDK:
Versionis"0.10",Versions["0.9", "0.10"], and the copy of the vectors moves with them (SDK.md Appendix I). An 0.8 host is no longer one it takes.- Read the new kinds and fields:
Pointer,Finger,Cut,Gesture,Wheel, and thePointerMouse,PointerPenandPointerTouchnames (SDK.md §3.1, §3.9). The decode vectors check them. - The test host plays fingers, gestures, wheels and a kind (SDK.md
§4.4), and skips the
speaks-0.9vectors where it speaks 0.10 only.
A host:
- Speak 0.10, and a host that also speaks 0.9 answers a 0.9 program in
0.9 with 0.9's events and
data-on(HOST.md §5). An 0.8 program is answered withEVERSION. - Match the media features to the device that draws, and draw again when its pointers change (HOST.md §4.2).
- Send
pointerin the details and thepointerevent; take each finger on its own withfinger; recognise gestures, a touchpad's pinch included; take the wheel forwheel, withprecise; sendcut; break a tie as §9.1 now has it. - Let §16's test interface touch with several fingers, pinch a touchpad
where the platform has one, and turn the wheel by pixels or by notches.
The runner declares
pinchandpinch-panwhere it has them, and follows the vectors' new steps (conformance/README.md). - A bounce and a coast are optional, and say nothing.
A multiplexer:
- One that passes hotty through sends each pane's program its own
pointerevent, for input in the pane's part of the terminal that shows it (SPEC.md §9, §16). A surface it relays to two terminals matches each one's device there, with nothing for it to do.
0.9
Released on 2026-11-23.
hotty's 0.9 hosts and SDKs speak 0.8 too, and no longer 0.7 (SPEC.md §15), so versions meet as follows (§4, §14):
- an 0.8 program on a 0.9 host that speaks 0.8 is answered in 0.8, and
the host speaks 0.8 to it from then on in its wire shapes: its
data-keysholds for everything inside its element, and its menus come from apresswithbutton2 undersecondary(HOST.md §5.1, §5.2). Focus fixup, the edge wheel, a program key sent as the command and an identical resend are 0.9's in every session, an 0.8 one included (HOST.md §5); - a 0.9 program, whose query lists
0.8,0.9, on an 0.8 host is answered in 0.8: it hears nocontextmenuand noauxclickthere, and itsdata-keys-inneris not read (SDK.md §3.8); - a 0.7 program meets a 0.9 host at
EVERSION, as a host or a program that speaks only 0.9 meets an 0.8 one, and the program falls back.
What changed
- The focused element going away loses focus, as in HTML's focus
fixup (SPEC.md §10.1, §10.2, §9): removed, replaced, disabled, inert, no
longer focusable, or not rendered,
visibility: hiddenincluded andopacity: 0not. The surface keeps the keyboard with nothing focused, the host sends noblur, and the next key reaches the program. A text control the user changed sends itschange.- From nothing focused, Tab goes to the first of the elements that take focus and Shift+Tab to the last.
a=focuswithton an element that is not focusable, or is disabled, inert or not rendered, focuses nothing, and is no error: an element that had focus keeps it.
- An identical resend may change nothing (SPEC.md §7.1). A host
MAY ignore an
a=reswhose id, type as sent and bytes match the stored resource, and either way MUST NOT change what is shown: an animated image goes on from where it is, and no frame is drawn without the resource. A resource's type says what it is: a stylesheet link or@importapplies only a resource whose type, ignoring case and parameters, istext/css. - A key the keymap gives the program, bound to
programorprefix, that is a command the program took reaches it as the command (SPEC.md §10.6, §10.2, §10.5, §11):ctrl+c=programon Linux, withcopytaken, sendscopywith"key": "ctrl+c", and does not copy a selection. - A wheel past a surface's edge no longer becomes keys (SPEC.md §5.3, §9; SDK.md §4.5). On the alternate screen, while the program has no mouse tracking on, a gesture along an axis the document scrolls stops at the root, whatever the terminal's alternate scroll setting. On the main screen it still chains to the scrollback. A host that keeps a gesture's route keeps one for each axis, and a multiplexer that relays the surface does the same for the program behind it.
- A pointer's other buttons, as the DOM has them (SPEC.md §9,
§9.1–§9.4, §3.3, §5.2, §10.2, §11; HOST.md §3.1, §3.2).
contextmenu, an event and a word ofdata-on, replaces the secondary press: the platform's gesture for a context menu (a mouse's secondary button, Control with the primary on macOS, a pen's barrel, a long press, and the menu key on a host that reports it), withareaand the pointer's cell.auxbrings anauxclickat the release, for every other button by its DOM number, and withdraga drag with those buttons, itsbuttonindragstart.rightbuttontakes the secondary button as a plain button: the nearest element withcontextmenuorrightbuttondecides.- A
pressis the primary button's alone.
- A keymap is the element's own, or for what is inside it (SPEC.md
§10.1, §10.2, §10.4, §10.5, §10.7, §11).
data-keysholds only while its element is focused, anddata-keys-innerwhile something inside it is, never the element itself. The focused element's keymap is the default keymap for a text field, each ancestor'sdata-keys-innerfrom the root down, then its owndata-keys.- Each reader takes what it has a use for, in a table: a binding it
does not take neither acts nor overrides. An element takes a key it
uses to
programorprefixfrom its owndata-keysonly, anddefaultholds there alone. - With nothing focused the body stands for the document: the root's
and the body's
data-keys-inner, then the body's owndata-keys. A selection reads only those, and takescopyfrom the body's own. - In the SDKs,
Resolvetakesownandinner, and its readers as a closed set (SDK.md §3.10).
- Said outright: a multiplexer that is a host itself conforms as a host, and one that passes hotty through conforms by doing what the spec says of one (SPEC.md §16, which lists the sections). The vectors do not test it.
Upgrading from 0.8
A program:
- Ask for
v=0.9, orv=0.8,0.9to speak both. - Open an element's menu from a
contextmenu: writecontextmenuin itsdata-onwheresecondarywas, and readarea,candrfrom it, with nocandrfrom the menu key. For an 0.8 host as well, write both words, and open the same menu from thepresswithbutton2 (SDK.md §4.7). A program that acts on everypresshears only the primary button now. - Take the middle, back and forward buttons with
aux(anauxclickwithbutton), and the secondary button as a plain one withrightbutton. - Place each binding: one for the element alone in its
data-keys, one for what is inside it in itsdata-keys-inner, and one for both in both. A wrapper's editing keys or leader, written indata-keysunder 0.8, move to itsdata-keys-inner. A key an element uses, such as a field's characters or a button'sspace, is given toprogramorprefixonly in that element's owndata-keys, and so isdefault. The document's keys go on thebody, which holds them with nothing focused. For an 0.8 host as well, write a wrapper's inner bindings in itsdata-keystoo, or write the keymaps by the capabilities'v(SDK.md §3.8): an 0.8 host reads nodata-keys-inner, and the program would lose its leader and editing keys there. - A program that takes edit commands and gives a key to
programorprefixnow hears that key as thecommand, with itskey: a REPL withcopytaken andctrl+c=programinterrupts on acopywhen nothing is selected. - Send stylesheets as
text/css: one sent under another type no longer applies. - Expect no arrow keys from a wheel at a surface's edge on the alternate screen: the document keeps it.
- After the focused element goes away, the next key comes to the
program with no
blur: the lastfocusit heard is stale.
An SDK:
Versionis"0.9",Versions["0.8", "0.9"], and the copy of the vectors moves with them (SDK.md Appendix H).Resolvetakesownandinnerand a reader from its closed set; an 0.8 call fails loudly (SDK.md §3.10). The keymap vectors namereader,ownandinnerin place ofmultilineandkeys.- A Field sets its keymap in the
data-keys-innerof the element that holds the fields (SDK.md §4.6). - Read
contextmenuandauxclick(§3.1, §3.9). The fiveButtonconstants,ButtonPrimarytoButtonForward, name the DOM's numbers, where onlyButtonSecondarywas before. - The test host does focus fixup, sending only the
change, and skips thelayoutvectors, and thespeaks-0.8ones where it speaks 0.9 only (SDK.md §4.4). - A relay drops a wheel over a relayed surface's window, along an axis its document scrolls, where it would become keys (SDK.md §4.5).
A host:
- Speak 0.9, and a host that also speaks 0.8 answers an 0.8 program in
0.8, reading its keymaps and its secondary press as HOST.md §5.1 and
§5.2 have it, and everything else as 0.9 has it. A 0.7 program is
answered with
EVERSION. - Send
contextmenuandauxclick, takeauxandrightbutton, and drag with the other buttons wheredragasks. Let §16's test interface press the secondary button and the other buttons too. The runner declares the new requires its host has:middle-paste,menu-keyandcontrol-click, andlayoutfrom focus fixup. - Build a keymap from own and inner, by its reader.
- Run focus fixup at each layout, with no
blur, committing a changed text control with itschange. Take Tab and Shift+Tab from nothing focused to the first and last element, and focus nothing on ana=focuswhose element takes no focus. - Stop a wheel at the root on the alternate screen as §5.3 has it, with a route for each axis.
- Send a key the keymap gives the program as the command it is, where the program took it.
- A byte-identical resend may be skipped, and never restarts an
animation. Apply only a
text/cssresource as a stylesheet.
A multiplexer:
- One that relays a surface drops a wheel over its window, along an axis the document scrolls, where it would turn it into keys for the program behind it (SPEC.md §5.3), and does what §16 says of one.
0.8
A draft, as every 0.x is, released across the stack on 2026-11-15: hotty-go, hotty-ts, hotty-lua and hotty-rs 0.8.0; hotty-blitz and xterm-addon-hotty 0.8.0; hottyterm 26.11.15-dev.8bfe841, the first build that speaks 0.8.
hotty's 0.8 hosts and SDKs speak 0.7 too (SPEC.md §15), so versions meet as follows (§4, §14):
- a 0.7 program on a 0.8 host that speaks 0.7 is answered in 0.7, and the host speaks 0.7 to it from then on (HOST.md §5);
- a 0.8 program, whose query lists
0.7,0.8, on a 0.7 host is answered in 0.7, and has noscrollop and nohitthere (SDK.md §3.8); - a host or a program that speaks only 0.8 meets a 0.7 one at
EVERSION, and the program falls back.
What changed
scroll, a delta op (SPEC.md §6.1, §5.3, §10.2). Itsvis a scroll action, and it scrolls as a key bound to that action would with focus on the target, the root whentis empty: one of the host's steps for each op, whether the surface has the keyboard or not. For a program that keeps the keyboard and a keymap of its own, such as a reader'sjandk.a=hit, what a cell holds (SPEC.md §9.7). A query, answered with the element adragwould name at that cell, and its steps: for a program that carries something of its own over a surface, as plx does a pane.- A text field may give the program
tabwithtab=programin its keymap (SPEC.md §10.2).shift+tabandescapekeep their meaning. defaultgives a key back to the host, for an element and what is inside it, as if no element above had bound it (SPEC.md §10.2).tab=defaulttakes back a farthertab=program.prefers-reduced-motionfollows the user's setting on the system the terminal runs on (SPEC.md §8; HOST.md §4).- A session's resources are its own (SPEC.md §7.1, §12): no host
resolves
cid:across sessions, nor lets one session replace, delete or learn of another's resources. - Said outright: §8's theme includes the colours a program sets with OSC 4, 10 and 11; and a multiplexer that answers a program's query is its host, so it lists only the features it carries (SPEC.md §2; SDK.md §4.5).
Upgrading from 0.7
A program:
- Ask for
v=0.8, orv=0.7,0.8to speak both. - On a 0.7 host, send no
scrollop orhit: a delta that holds one is refused whole withEINVAL. Check the capabilities'v.
A host:
- Speak 0.8, and a host that also speaks 0.7 answers a 0.7 program in 0.7
(HOST.md §5). One that does not answers it with
EVERSION. - Take the
scrollop anda=hit,tab=programin a field's keymap, anddefaultin any. - Follow the reduced-motion setting, and keep each session's resources apart.
0.7
A draft, as every 0.x is, landed across the stack on 2026-11-06, and released on 2026-11-07 (the maintainer: "ship everything that's pending").
hotty's 0.7 hosts and SDKs speak 0.6 too (SPEC.md §15), so versions meet as follows (§4, §14):
- a 0.6 program on a 0.7 host that speaks 0.6 is answered in 0.6, and the host speaks 0.6 to it from then on;
- a 0.7 program, whose query lists
0.6,0.7, on a 0.6 host is answered in 0.6, and meets no secondary press: the keys open its menus (SDK.md §4.7); - a host or a program that speaks only 0.7 meets a 0.6 one at
EVERSION, and the program falls back.
What changed
- A secondary press (SPEC.md §9, §9.1, §9.2). An element that has
secondaryin itsdata-ongets apresswithbutton2, itsareaand the pointer's cell incandr, from a mouse's secondary button, the primary button with Control on macOS, a pen's barrel button, or a touch's long press. It does nothing else: no click, no focus, no drag, and not the terminal's menu. Over an element withoutsecondary, and with Shift held, it is the terminal's. With Alt held it is the program's, and with mouse reporting on it hearsCSI < 10 ; <col> ; <row> M(§9.2). The keys that open a menu,shift+f10andcontext_menu, stay keys (§10.2). A primarypresshas nobutton, which means 0.
Upgrading from 0.6
A program:
- Ask for
v=0.7, orv=0.6,0.7to speak both. - A program that acts on every
presschecks itsbutton: a secondary press comes only to an element that hassecondary. - Open menus from the keys everywhere, and from the press where the host sends one: a 0.6 host never does.
A host:
- Speak 0.7, and a host that also speaks 0.6 answers a 0.6 program in 0.6
(HOST.md §4). One that does not answers it with
EVERSION. - Take
secondaryindata-onand report the press as §9 has it. - In a 0.6 session, a secondary press with Alt held stays the terminal's.
0.6
A draft, as every 0.x is, released 2026-11-01 across the stack. It breaks
0.5 (SPEC.md §15): a 0.6 host answers a 0.5 program with EVERSION, and
the program falls back (§4, §14).
It is tagged v0.6.0 (71e7e0f). Its implementations take its MAJOR.MINOR
(gov P-5 rule 6), and each released 0.6.0 with it, tagged v0.6.0 in its
repository: hotty-go (with hottyedit/, hottyterm/, hottytea/,
hottytest/ and hottyvt/v0.6.0), hotty-ts, which npm has as
@neuroplastio/hotty 0.6.0, hotty-lua (hotty-0.6.0-1.rockspec), hotty-rs,
hotty-blitz (with v0.6.1 for CSS animations and transitions), and
xterm-addon-hotty, which npm has as @neuroplastio/xterm-addon-hotty 0.6.0.
hotty-surf v0.1.1 builds on hotty-go v0.6.0. The first hottyterm release
that speaks it is 26.11.01-dev.8f8cc90, on hotty-blitz 0.6.1; margin's is
26.11.01 (aca330e), and plx's 26.11.01-dev.d18fe65.
hotty-blitz's 0.5.11, which damages only the field an edit changes (Backspace, a word's deletion) rather than the whole surface, is not tagged: the maintainer folded it into hotty-blitz 0.6.0 (2026-11-01). Nothing on the wire changes.
What changed
The first two change what a 0.5 document meets; the others are new.
- Enter commits a text field, in a form or not (SPEC.md §9). Enter in
a text
inputthe user changed sendschange, as focus leaving it does. In a form it commits, then submits:change, thensubmit. A key bound tosubmitdoes the same (§10.2). Until 0.6, §9 named only focus leaving the field, and hosts read Enter in a field outside a form both ways: hotty-blitz and the xterm addon sentchange, hotty-go's test host (hottytest) nothing. - The host stylesheet rings only controls on focus (§8). The rule is
:is(a[href], button, input, select, textarea, summary, [contenteditable]):focus-visible. A focused container (an element focused by itstabindex, a scrolling region, a list) has no ring by default. An editing host is a text field (§10.2), and rings as one. Nothing a program is told changes. - A backdrop is drawn under the cells (§5.2).
a=placetakesb=1, and the placement goes under the terminal's text instead of over it, below every other placement.- A host that can draw one lists the feature
backdrop(§4). Without it,bis ignored (§15) and the surface is drawn above the cells. - Backdrops stack among themselves by
z, then by when they were placed.bis the placement's, aszis: placing the surface again without it puts it back above the cells, and a hidden surface is no backdrop until a placement makes it one. - A backdrop takes no input. Presses, wheels, touches and hover pass through to the cells, and the program hears them as it would without the surface. A press the surface took before it became a backdrop still ends on it, and a window that had the pointer loses it.
- A backdrop never has the keyboard (§10.1).
a=focuson one answersEINVAL(§3.6), and a surface that had the keyboard gives it back when it is placed as one: the host sendsblur. - A backdrop at the grid's edge reaches the window's edge, past the last whole cell and into the padding.
- A host that can draw one lists the feature
- A scroll comes to rest on a snap position (§5.3). CSS Scroll Snap
applies to an element that scrolls, as in a browser:
scroll-snap-type,scroll-snap-alignandscroll-padding, after a key's step, a page, the wheel andreveal. A list of rows, eachscroll-snap-align: startunderscroll-snap-type: y mandatory, comes to rest with a whole row at its top, short of its end. A document without them scrolls as before.
Upgrading from 0.5
A program:
- Ask for
v=0.6. - Expect
changewhen the user presses Enter in a textinputthey changed, in a form or not, and beforesubmitin a form. A program that read a lone field only onblurhears it on Enter too, and needs no key of its own for it. - Send
b=1only where the capabilities listbackdrop. Without it, draw the scene in cells, or not at all: a surface placed withbon a host without it covers the text. - Don't focus a backdrop, and expect
blurwhen you place a focused surface as one. A surface you hide is no backdrop: place it withb=1again to make it one. - If a container should show a ring when it is focused, give it one in
the document's sheet. A document that took the ring off its containers
(
outline: 0) can keep that rule, or drop it. - To scroll by whole rows, mark them
scroll-snap-align: startunderscroll-snap-type: y mandatoryon the element that scrolls.
A host:
- Speak 0.6, and answer a 0.5 program with
EVERSION. - Commit a text field on
submit, Enter's action in aninput, in a form or not: sendchangeif its value changed since it last committed, thensubmitif it is in a form. - If it can draw under the cells, list
backdropand takeb=1, which is the only value that makes a backdrop:- draw it under the cells, below every placement without
b, ordered byzand then by when it was placed; - give its presses, wheels, touches and hover to the cells, but let a press the surface took before end on it, and send the pointer's leave to a window that had it;
- answer
a=focuson it withEINVAL(orEDETACHEDif it is detached as well), and sendblurwhen a surface that has the keyboard is placed as one; - drop the flag with the placement, so a hidden surface is no backdrop
and
a=focuson it answers as on any surface not placed; - reach the window's edges where it reaches the grid's.
- draw it under the cells, below every placement without
- If it can't, leave
backdropout of the features and ignoreb. - Change the stylesheet's focus rule to the controls', editing hosts among them (§8).
- Honour CSS Scroll Snap on an element that scrolls:
scroll-snap-type,scroll-snap-alignandscroll-padding, after keys, pages, the wheel andreveal.
A multiplexer relays b with the rest of the placement, as it relays
z.
0.5
A draft, as every 0.x is, released 2026-10-22 across the stack. It breaks
0.4 (SPEC.md §15): a 0.5 host answers a 0.4 program with EVERSION, and
the program falls back (§4, §14).
It is tagged v0.5.0 (95a1147). Its implementations take its MAJOR.MINOR
(gov P-5 rule 6), and each released 0.5.0 with it, tagged v0.5.0 in its
repository: hotty-go (with hottyedit/, hottyterm/, hottytea/,
hottytest/ and hottyvt/v0.5.0), hotty-ts, which npm has as
@neuroplastio/hotty 0.5.0, hotty-lua (hotty-0.5.0-1.rockspec), hotty-rs,
tagged for the first time, hotty-blitz, and xterm-addon-hotty, which npm has
as @neuroplastio/xterm-addon-hotty 0.5.0. The first hottyterm release that
speaks it is 26.10.22-dev.9793b2f, on hotty-blitz 0.5.0; margin's is
26.10.22-dev.a0d5c31, and plx's 26.10.22-dev.6403390.
hotty-blitz 0.5.1 and xterm-addon-hotty 0.5.1 ship the font that HOST.md describes; hottyterm has it from 26.10.22-dev.9a14b7e. It isn't on the wire, so nothing above changes.
hotty-blitz 0.5.2 and xterm-addon-hotty 0.5.4 add its Italic and Bold Italic, so italic is the font's own rather than Regular slanted. hottyterm has them from 26.10.26-dev.189693b, which also draws its cells in Adwaita Mono by default, so cells and surfaces look alike until the user picks a font.
hotty-blitz 0.5.3 draws no text-overflow ellipsis on a line that fits its
box until the box is rounded to whole pixels, which cut names short in plx's
picker although the row had room. hottyterm has it from 26.10.26-dev.16dd52e.
Since the release, SPEC.md §3.3 says what a host does with a document that
is not UTF-8: it answers EINVAL and applies nothing. hotty-blitz, and so
hottyterm, did already. xterm-addon-hotty put U+FFFD in place of the bad
bytes, and answers EINVAL from 0.5.3, as the test hosts of hotty-go
(hottytest) and hotty-ts do from their next patch. A program that sends
UTF-8 sees no change. The conformance vectors test it, with a send step's
payload_b64 for bytes that are not UTF-8.
Since the release, SPEC.md has the error code ENOTERM (§3.6). A
multiplexer running a pane with no terminal attached keeps what the
program sends for the terminal that attaches, and answers in its place.
What it can tell it answers as a host would. What needs the document, an
a=doc, a=delta, a=field, a=focus, a=blur and the rows of an
r=auto placement, it keeps unchecked, and answers ENOTERM where the
program asks for every answer (q=0). It no longer leaves them
unanswered, and no longer answers EBUDGET for the rows, as plx did
before. An r=auto placement moves the cursor as one row tall would, and
with f=1 hears its rows as fit once a terminal attaches and lays the
surface out (§5.2). Only a multiplexer sends it, and the SDKs name it from
their next patch. A program that doesn't know the code reads it as any
other error.
An erratum in an example, since the release: Appendix A's detection reply
was capabilities whose v decodes to "0.3". Its base64 now decodes to
"0.5", as §4 has it. The example was wrong, and no rule changes.
What changed
a=fieldchanges a control the user may be changing (SPEC.md §6.4), but only if they have not changed it since the program last heard.- It works on a text field, a checkbox, a radio button and a select, focused or not.
- Its msgpack body holds the control's
revand one of:value;text, which replaces the selection or a rangefrom..to;checked.
- It can also hold
sel, the selection after the change. - A program can now complete what the user typed in place. Before, it had to replace the field with a new one so that its value would reach the field while it was focused.
- Controls count the user's changes, as
rev(§6.4):- every edit, toggle, check and pick;
- never a move of the caret, nor a value the program sets.
inputandchangecarry it (§9).- An
a=fieldmade against anotherrevchanges nothing and answersESTALE, a new code whose detail is the control'srev(§3.6).
- Positions are bytes of the value's UTF-8 (§6.4), in
a=fieldand in the selection events report. caret, a new event (§9), withdata-on~=caret, reports the user's moves of the selection. With it,inputcarriesselas well.- A field's caret starts at the end of its value (§10.2). That holds
when the field enters the document and when a delta sets its value. A
field keeps its selection while it is not focused, and
a=focusgives it back. - An
a=fieldis one edit of the field's history (§10.2), and it ends a run of typing.
Upgrading from 0.4
A program:
- Read
revfrominputandchange, and send it back ina=field. - To complete a field, send
a=fieldwithtext,fromandto. Don't swap in a new element: the field keeps its id, its history and its caret, which goes after the text. - On
ESTALE, do nothing. The user typed first. Decide again from theinputyou hear next, and don't resend against the detail'srev. - Count positions in bytes of UTF-8. In JavaScript, convert from UTF-16.
A host:
- Keep a
revfor each control:- one more for each of the user's changes;
- for a radio group, one
revfor the group. - Send it in
inputandchange.
- Take
a=field:- check it whole first;
- answer
ESTALEagainst anotherrev, or while an input method composes, whatever its positions: check them only when it is not stale; - apply it as one edit of the history;
- send nothing back.
- Send
caret, andselininput, for fields withdata-on~=caret. - Put a field's caret at the end of its value when the field enters the document and when a delta sets the value. Keep the selection while the field is not focused.
- When focus leaves a field that only
a=fieldchanged, send nochange.
A multiplexer relays a=field to the host and ESTALE back, as it
relays a=focus.
0.4
A draft, as every 0.x is, released 2026-10-18 across the stack. It breaks
0.3 (SPEC.md §15): a 0.4 host answers a 0.3 program with EVERSION, and
the program falls back (§4, §14).
It is tagged v0.4.0 (481a79f). Its implementations take its MAJOR.MINOR
(gov P-5 rule 6), and each released 0.4.0 with it, tagged v0.4.0 in its
repository: hotty-go (with hottyedit/, hottyterm/, hottytea/,
hottytest/ and hottyvt/v0.4.0), hotty-ts, hotty-lua
(hotty-0.4.0-1.rockspec), hotty-blitz, and xterm-addon-hotty, which npm
has as @neuroplastio/xterm-addon-hotty 0.4.0. The first hottyterm release
that speaks it is 26.10.17-dev.e873289, on hotty-blitz a596c6d, which named
itself 0.0.3; the first to say so beside its name, on hotty-blitz 0.4.0, is
26.10.21-dev.6ca19c1.
What changed
- Keys are named by myelin key names 0.1 (SPEC.md §10.4), which this
document cites at the tag
myelinkey/v0.1.0rather than naming keys itself. The modifiers aresuper,ctrl,altandshift. A physical key is its W3C code in snake case (arrow_left,page_down,key_w). A character is what the key types, a letter written small withshiftas a modifier (shift+g). The W3C key values (Control+a,ArrowLeft,Meta+Enter) are gone. modis myelin's command modifier (its §4.4): a binding writesmod+s. The capabilities'modis"ctrl"or"super", andeditnames its keys the new way (§4).- A host reads a key a program writes with myelin's default reading,
so
Gisg, andmetais refused (§10.4). - A press can have two names, its physical key and the character it types, and a keymap is looked up by the physical one first (§10.4). A host that reads bytes names what they carry.
- Shift falls back only from a key that is not a character (§10.2):
shift+gis a key of its own. A field types what a key types, a letter withshiftas its capital. modskeeps its bits, and 8 issuper(§9).- A press given to the program as pressed stays the program's when it
comes again as bytes, though the field binds its bytes' name, and a
prefixbinding starts its prefix (§10.4):ctrl+key_a=programin a field sendsctrl+aon. - A modifier tapped alone is named on its release (
shift_left,shift) and goes no further, so a tap bound toprogramorprefixdoes nothing (§10.4). - A
command'skeyis the one name its bytes have,ctrl+c, neverctrl+key_c(§10.6). - A finger can drag in the cells (§9.6).
a=touchnames areas of the screen, each with the way it drags. There, while the program reads the mouse, a touch drag that way and a tap reach the program as the mouse's primary button. Elsewhere, and the other way, a touch drag still scrolls. It adds to 0.3 and changes nothing a program already does. - The name is written hotty, in lowercase, even at the start of a sentence: "hotty 0.4", "a hotty host". Nothing on the wire changes, and neither do identifiers, environment variables or task ids. The text of 0.1 to 0.3 stays as it was released.
Upgrading from 0.3
A program:
- Write keys in the new names: in
data-keys, in a menu's item keys andseq, and wherever you compare acommand'skey.Mod+sismod+s, andControl+Aisctrl+shift+a(§10.4). - Read the capabilities'
modas"ctrl"or"super", andeditin the new names (§4). - Bind Shift with a letter as
shift+<letter>: a host readsGasg. - If you read the mouse to drag something in your cells, such as a
slider, send its cells with
a=touchso that a finger drags it too, and send them again when it moves (§9.6).
A host:
- Read a written key with myelin's default reading,
modstanding for yourmod. Refusemeta, and a binding withmodandctrlorsuperas well (§10.4). - Name a press seen as pressed by its physical key and by the character it types, and look the physical one up first. Name keys from bytes as §10.4's table has them.
- Report
mod,editand acommand'skeyin the new names, thekeyas its bytes name it (§10.6). - Keep a press you give the program as pressed, by either name, the
program's when its bytes come, and start a
prefixbinding's prefix then. Offer a modifier tapped alone to the surface, and send it nowhere else (§10.4). - Fall back without
shiftonly from a key that is not a character (§10.2). - Take
a=touch, and keep its areas per screen. In an area, while the program reads the mouse, report a touch drag the area's way, and a tap, as the mouse's primary button (§9.6).
A multiplexer does both lists. A keymap of its own that is myelin's already speaks these names. One that relays the mouse gives the terminal the areas of the panes it shows, moved to where each pane is (§9.6).
0.3
A draft, as every 0.x is. It breaks 0.2 (SPEC.md §15): it folds what 0.2
grew, for bandwidth and for fewer rules, and programs and hosts move to it
together. The list it folds is vault/tasks/fold-0.3.md.
What changed
- A delta is one list of ops (SPEC.md §6.1):
a=delta:s=<name>and one msgpack map,{"ops": [{"op", "t", "k", "v"}, …]}, applied in order and shown as one. The control keysop,tandk, and the text payload, are gone. A frame of fifteen small changes is 184 bytes, not 755. An op whose target is missing fails alone, and the reply names it by its index,i; a malformed op rejects the whole delta. Targets travel as the document has them, so an id outside ASCII is addressed as it is. p,fandvbelong to the surface (SPEC.md §5.2):1on,0off, held until the program sends them again. A placement without them leaves them as they were. One table in §9 says, for every event, what asks for it, how long and how often.- Features (SPEC.md §4): a 0.3 host does every op and event, scrolling,
steps, drops and
view. One list,features, names what a host may lack:passthrough,hover,count,menu. The capabilities'ops,events,passthrough,scroll,steps,drop,count,keysandmenuare gone. - The cell is in CSS pixels (SPEC.md §4, §5.3, §8):
cellcsstakes the place ofcell,resizeis gone, and a new font sendscapswith the newcellcss.--hotty-pxis one device pixel, current through zooms.scalestays, as a hint for images. capscarries any field that changed (SPEC.md §4, §9), not onlymodandedit: a multiplexer whose program moves to another viewer's host tells it everything that differs.- Event details (SPEC.md §9): a submit's fields are pairs,
{"fields": [[name, value], …]};mods, one int of modifier bits, goes on clicks, presses and drags in place of a drag'skeys;tis absent, not empty, where no element is meant; a detail with no field is no payload. - Errors only, unless asked (SPEC.md §3.5, §3.6):
qdefaults to 1, and to 0 for a query and a command withn. Continuation chunks carry onlym. - Key sequences are the program's (SPEC.md §10.5):
data-key, the capabilities'keys, and the hosts' sequence engines are gone. A keymap action,prefix, sends the program every key after it, whatever is focused, until it sendsa=focus. - A menu is what a program can do (SPEC.md §10.7, which takes menus
out of §10.5):
a=menusends the program's actions as a tree, kept per screen, each item with a key where one reaches it and aname;a=menu:show=1shows the level the keys typed reach, a few bytes a key, andshow=0hides it. A pick, from a multiplexer's palette or an agent, sendscommandwith the item's name. A 0.2 menu was one level, shown when sent. A host that takes menus has the featuremenu, for programs on surfaces as in the cells.
Upgrading from 0.2
A program:
- Send a frame's changes to a surface as one
a=deltawhoseopslist holds them all (§6.1), not one message per change. Deltas no longer takeop,torkin the control. - Send
p,fandvwhen they change, not with every placement: they hold until the program sends them again (§5.2). - Lay out with
cellcss, in CSS pixels, and stop handlingresize: a new font sendscapswith the newcellcss(§4). A document that needs a device pixel reads--hotty-px(§8). - Ask
featuresforpassthrough,hover,countandmenuonly, and count on every op, every event, scrolling, steps and drops. - Read a submit's
fieldsas pairs, a click's, press's or drag'smodsas bits, and an absenttas no element (§9). - Leave
qout unless you want more than errors (§3.5). - Resolve key sequences yourself: bind the keys that start one to
prefixin the keymap, and the keys after it come to you, whatever is focused, until you senda=focus(§10.5).data-keyis gone. - Send what you can do as a menu tree with a
nameper item, show a level witha=menu:show=1and hide it withshow=0, and handlecommandwith anamefrom a pick (§10.7).
A host:
- Decode a delta's op list and apply it as one unit. Reply to an op whose
target is missing with its index
i, and reject a malformed op's whole delta (§6.1). - Keep
p,fandvper surface (§5.2). - Report
cellcssandfeatures, and sendcapswith every field that changed. Send noresize(§4). - Take
qas 1 when it is absent, and read onlymon continuation chunks (§3.5, §3.6). - Send event details as §9 has them.
- Route every key after a
prefixto the program, until it sendsa=focusor the surface loses the keyboard (§10.5). - Keep a program's menu per screen and show the level its keys reach.
Report the feature
menuonly if both hold (§10.7). Add no palette for it: where you already list commands of your own, you may list its named items there, and send a pick ascommandwith the item's name.
A multiplexer is a host to the programs in its panes and a program to its terminal, so it does both lists. Besides them:
- Answer a pane's query for the terminal whose keys reach that pane, and
when that terminal changes, send the pane
capswith every field that differs from what it last heard (§4). - Replay a surface with its
p,fandv: they are the surface's now, not a placement's. - Keep each pane's menu and show its levels, or leave
menuout of the features you report and answer a pane'sa=menuwithEINVAL(§10.7). You may offer the menu in a palette of your own, or to whatever drives the pane, and send picks to the pane ascommand. - While a surface you relay has the keyboard, give its pane every key you read, after your own shortcuts. A prefix asks nothing of you, since the keys the surface uses never reach you (§10.5).
0.2
A draft, as every 0.x is. It breaks 0.1 (SPEC.md §15): programs and hosts move to it together. It ships with hottyterm's release that pins hotty-blitz a70065f and with xterm-addon-hotty 0.1.0-next.8.
What changed
- A host's bodies are msgpack (SPEC.md §3.3): the capabilities, an error's body, and every event's detail are one msgpack map, with nothing after it, nested at most 32 deep. What a program sends is unchanged: text and bytes.
- Each field has a type, and keeps it from 0.2 on:
int,float,str,bool, arrays and maps of them. A float is sent as a float even when whole. A known field of another type fails the body; unknown fields are skipped. - A body holds nothing a host does not send, anywhere in it: no nil, keys that are strings and each given once, UTF-8 strings, ints within 2^53 − 1 of zero, and timestamps msgpack defines. A body that breaks one does not decode, and the message stands without it (SDK.md §3.9).
- A query lists the versions the program speaks (SPEC.md §4):
a=q:n=1:v=0.2. A host answers in the highest it shares, or with the new errorEVERSION, its detail the versions it speaks. A program takes as a host only an answer whose capabilities decode and name a version it speaks. A 0.1 program on a 0.2 host, and a 0.2 program on a 0.1 host, each find no host and draw in cells.
Added within 0.2
What follows came after the first 0.2 hosts, and keeps the version: a host that lacks it says so in its capabilities.
-
reveal(SPEC.md §6.1), a delta that scrolls an element into view: its top to the top withstart, its bottom to the bottom withend, and by as little as it takes with neither. It moves no focus. A program asksSupports(c, "reveal"). -
view(SPEC.md §9.5), an event: the elements withdata-on~=viewand an id that are in view, each with its area, and whether the document shows its end. A host sends it once the document is laid out, then on each change, once a scroll comes to rest. A program asksViews(c). -
limits.message(SPEC.md §13): a host may limit the decoded size of one reassembled message and reports it underlimits(§4). Past it a message is malformed (§3.7), notEQUOTA, and its further chunks are dropped; a host that reports none enforces none, and one with a limit should accept at least 1 MiB decoded. A resource is one message, so this limit also caps the largest resource. A program may limit what it decodes from its host the same way: each SDK's Decoder takesMax, 16 MiB by default (SDK.md §3.6). -
A click's
count(SPEC.md §9): a click that quickly follows another on the same element carries its place in that run, 2 for the second click of a double click, as the platform counts them by the user's own settings. Every click of a run is reported. A host that counts reportscount: truein its capabilities. -
Drops (SPEC.md §9.1): an element with
dropin itsdata-oncan be where a drag goes,t, without being dragged, and keeps its text selection. When such athasdata-steps,draganddragendsay where in it the pointer is,txandty, and adraggoes out when that step changes: a row with"0 1"splits into halves, a folder with"0 2"into before, into and after. A host that does both reportsdrop: true. -
Copying (SPEC.md §10.2, §11): the new action
copy, which the default keymap binds to Control+c and Meta+c (Command+c). A text field's keymap copies its selection; a selection elsewhere in a document is copied by the keymap of the element it starts in, which the host offers each key first, keyboard or not. With nothing selected, in a password field, or underControl+c=program, the key goes to the program: Control+c still interrupts. The terminal's own copy keys and menu copy whatever the keymaps say. A double click selects a word, a triple click a block, and Linux hosts put a selection in the primary selection. There is one selection across the host. No wire change and no capability. -
Cutting, pasting and undo (SPEC.md §10.2, §11): a text field's default keymap binds Control+x and Meta+x to the new action
cut, Control+v and Meta+v topaste, Control+z and Meta+z toundo, and Control+Z, Control+y and Meta+Z toredo. Each field keeps its own history, as a browser's does; a value the program sets clears it.cutwith nothing selected, or in a password field, leaves the key to the program. The terminal's own paste types into a field that has the keyboard. A host that does not know the actions leaves the keys to the program, as before; no capability. -
Modand the edit shortcuts (SPEC.md §10.2, §10.4): a binding'sModis Meta on macOS and Control elsewhere, reported asmod. The default keymap now binds each edit action once, to the host's edit shortcuts (Mod+a, Mod+c, Mod+x, Mod+v, Mod+z, Mod+Z, and Control+y where Mod is Control), which the user may change and the host reports asedit. Its other rows follow the platform: Control+ArrowLeft moves by a word where Mod is Control; Meta+ArrowLeft and Control+a go to the line's start where it is Meta. A Linux host no longer binds Meta+c, nor a macOS host Control+c. Breaks 0.2 in place. -
Key sequences (SPEC.md §10.5):
data-key="<leader> f n"gives an element a sequence that clicks or focuses it, with groups,<leader>and a timeout reported askeys, by myelin's rules. While one waits the host shows a which-key menu of the elements' labels. -
Commands in the cells (SPEC.md §10.6):
a=edit:take=copy,paste,…makes the edit shortcuts reach a program as the eventcommand, with their key and, for a paste, the clipboard's text, per screen. The terminal's selection is still copied first, and its menus send commands without a key.a=menushows a program's which-key menu, a msgpack map as myelin's levels are, reported asmenu.capssays whenmod,editorkeyschange, and sends one that became absent empty ("edit": {}).commandandcapsbelong to no surface.
Each SDK has the builder Reveal, the event's View (Areas and AtEnd,
from in and end), Views, the event's Count, the drag's tx and
ty, and the capabilities' Count and Drop.
Porting
A port that compiles can still be wrong. SDK.md Appendix C lists what ports got wrong; the two that cost most:
- A clicked link is
Link, not a field. 0.1's hotty-go read any detail throughEvent.Fields(), so programs found a link's href asFields()["href"]. In 0.2Fieldsholds a submit's fields only, and a link click carriesLink(Href,URL). After a mechanical port, link clicks silently go nowhere. - Read the event's fields, never its detail. Code that unmarshals
ev.Detailas JSON reads zero values from msgpack: a checkbox that is always unchecked. UseChecked,Valueand the rest.
And a test that plays the host answers with msgpack capabilities naming
0.2 (hotty-go: hottytest.Body, or hottytest.Host), or the program under
test falls back to text.
In each SDK
- hotty-go (Go): the wire types are data, with functions beside them.
m.Reply()ishotty.ReplyOf(m),m.Event()ishotty.EventOf(m),r.Caps()is the fieldr.Caps(nil when none) orhotty.CapsOf(body),r.Err()ishotty.Err(r),c.Supports(op)ishotty.Supports(c, op), and an event's accessors (Value(),Checked(),Link(),Size(),FitRows(),Drag(),Hover(),Area(),Fields()) are its fields. A host or relay answers a query withhotty.ReplyQuery. - hotty-ts (TypeScript) and the Python client: the reader keeps an
int apart from a float;
query()sendsv. - hotty-lua:
hotty.msgpack.decode(s)returnsvalue, kinds, wherekinds[t][k]tells a float, bin, array, time or extension apart from what Lua alone cannot. - hotty-blitz and xterm-addon-hotty, the hosts: they send msgpack and answer queries by version.