Skip to content

TTYloom v0.17-beta

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 13 Nov 14:26
· 10 commits to main since this release

Portable Linux binaries for x86-64 and ARM64 (without Hunspell), matching source and SHA-256 checksums. See the README for installation and source builds with spell checking.

Added

  • Start demo: at start, a 90s demo in ASCII plays over the chat until the first key or click — a tunnel lined with the three threads of the logo, fire that burns the letters, a glass cube whose faces, hatched with # where the chat has no text, show the chat through them, a torus that changes its shape, copper bars with a sine scroller in big letters, and Matrix rain that lays the logo and decrypts it into the motto. One effect is picked at random, then another comes every 15 seconds with a transition; the TTYLOOM logo stays in the middle and its threads weave over and under its letters. The chat stays alive behind it and shows through, its pictures too on kitty and Ghostty, dimmed like the chat, with the effects over them (sixel and Terminology pictures come back at the end). The key that stops it is not typed; a mouse move does not stop it. It ends by itself when a login prompt, a QR code or a form opens, after 10 minutes with no key on a terminal that never reports the focus, or when the terminal cannot keep 20 frames a second (a slow ssh link); it pauses while the terminal has no focus. ASCII only, on every terminal; TTYloom now asks the terminal for its colours at start (OSC 10, 11, 4) to blend with the chat under the default terminal theme; a terminal that does not answer gets a plain dark backdrop, with no fade. /demo plays it again, /set intro off turns it off.

  • Screensaver: /set screensaver 1h (or 60m, 3600s) plays the start demo after that long with no key, click, wheel or paste, until the next key; 0 turns it off, the default. It never starts over a login prompt, the image viewer or mpv, waits paused while the terminal has no focus, and comes back only after some activity.

  • File browser: Ctrl+D or /files lists the files sent and received in every conversation the disk cache and the open windows hold, by person: documents, photos, videos and audio, not stickers, GIFs nor link previews. The people go on the left, grouped by network, in one list in the aggregate view (F6), cut to the network of /net, me first for what I sent; their files on the right, newest first, with date, size, name and conversation. Typing filters the files by name: a part of it (rapport), or a pattern on the whole name (*.pdf, *toto*.gif), case and accents aside. Enter or a click on a file opens its menu, with "go to the message" first.

  • Click on [Act: …]: a click on a window of the activity list goes to that window, on its first unread message, lit for 2 seconds, and reads it; on the message that got a reaction when one waits there (5🔥).

  • Menu of a file: a click on the label of a media, or a right click on its picture, opens a menu — view, copy the image (through wl-copy or xclip), copy the absolute path (OSC 52), send to a conversation, open with xdg-open. "Send to a conversation" picks any chat of any network: on the network of the file the network forwards the message; elsewhere (another network, an IRC nick by DCC, one attachment of several) the file goes up as a file of mine. A file not downloaded yet downloads first, then the entry runs; a failure says so in the window. A left click on the picture still opens the viewer.

Changed

  • The message of a reaction is lit, not selected: going to a window where someone reacted to one of my messages now lights that message for 2 seconds instead of selecting it, so the keys typed next go to the input rather than to the keys of a selected message.

  • Received files keep their name: a file someone sends is saved under the name its sender gave it, suffix included, in the folder of its conversation (download_dir/<network>/<conversation>/) with the date of its message as its time, instead of a name made of the date, the network, the chat and the message with .bin for any type off the allow list. When another message already holds the name, the file takes the id of its message: report (1234).pdf. A path separator, a control character or a bidi override in the name becomes _. A document downloaded under the old name moves to its new place when it shows or opens, and all of them when the file browser opens. A photo, a video, an audio or a GIF keeps its name only when its suffix is the one of its type, since the suffix steers the decoders, and one downloaded before stays where it is.

  • Opening a file of an unknown type asks: o and the menu open the common types at once, as before; another type now asks "Open name?" instead of refusing. A launcher (.desktop, .sh, .AppImage, .run, .jar, .exe and the like) is still never opened.

  • Sixel and Terminology pictures no longer hold the keys: each one was decoded, scaled and encoded on the interface loop, 15 to 40 ms a picture, so a screen of pictures (a conversation opening, a scroll, a zoom step of the viewer) froze the input for a moment. They are now made outside it, up to four at a time, and each shows as soon as it is ready; a zoom step keeps the picture before it on the screen meanwhile.

  • Go 1.27.4 and dependencies: the build now asks for Go 1.27.4, which fixes a flaw of net/http (GO-2026-6859, a crash of an HTTP/1 server; ttyloom runs no server, but govulncheck finds the package reached). x/crypto v0.59.0 drops the openpgp package (GO-2026-5932, never used by ttyloom); x/sys, x/text, x/image, x/sync, x/term, klauspost/compress, brotli and murmur3 move to their latest releases, with no change to the code ttyloom runs beyond a gzip encoder fix. Each diff was read before the update, and the generated code and assembly were regenerated from their sources and found identical. gotd/td stays at v0.163.0 for now: its newer releases rewrite the connection core and are a day old. govulncheck finds no vulnerability.

Fixed

  • A scrollbar shaken up and down no longer brings a FLOOD_WAIT: each time the view touched the top of a conversation, a page of older history went out, so a thumb dragged up and down fast sent a burst of pages and Telegram stopped answering for a while; every page asked meanwhile then added its own history: FLOOD_WAIT running line to the window. The older page now goes out once the view has rested at the top for 0.4 seconds (wheel, PgUp and the scrollbar alike), and a history error shows once, not once per refused page.
  • A box over a picture no longer hides all of it: a menu, the file browser or any other box that covered one cell of a picture took the whole picture off the screen. The picture now stays around the box, placed in parts that the box leaves free (kitty, sixel, Terminology), and a GIF cut that way plays in every part.
  • Old Telegram files download again: a message kept in the cache for weeks may carry a dead file reference, and its download failed with nothing said (opening a document from the file browser did nothing). The download now asks Telegram for the message again, once, and starts over with the fresh reference, which the cache keeps; a download asked by a key or a menu that still fails says so in the window.
  • Every attachment of a Discord message shows: several photos sent at once (from the phone app, say) are one Discord message, and only the first one showed. Each attachment now shows under the message with its own label and picture, and works like any media: it downloads to a file of its own, plays, opens in the viewer (v, a click, ←/→) and with o, and stays after a restart. Alt+↑/↓ or a click selects one; edit, delete, reply, react and pin act on the whole message. The media browser (Ctrl+M) gives each attachment a cell of its own. A message already in the disk cache gets its other attachments when Discord sends it again (the recent history of a conversation, when it opens). A message with several link previews still shows the first.