No description
Find a file
Lionel DARNIS 2414aaece3 yoda: notifications de bureau OSC 9/777 et cloche utile, a la Ghostty
vte 0.15 jette les OSC 9 et 777 : Claude Code (canal « ghostty ») ou tout
programme qui veut signaler « j'attends » ne pouvait rien faire remonter,
et la cloche etait un TODO. Avec plusieurs sessions en onglets, rien ne
disait laquelle attendait une reponse.

- osc_tap : le Pty est enveloppe, son lecteur passe chaque lecture a un
  petit automate qui repere OSC 777;notify;titre;corps et OSC 9;texte
  (les commandes ConEmu 9;N, dont la progression 9;4, sont ecartees comme
  dans Ghostty). Ni alacritty_terminal ni vte ne sont forkes.
- desktop_notify : org.freedesktop.Notifications en direct (zbus), pour
  recuperer le jeton ActivationToken au clic : la notification ramene la
  fenetre au premier plan, sur le bon panneau et le bon onglet. Une
  notification par onglet au plus (replaces_id), anti-rafale de Ghostty
  (1/s, identique toutes les 5 s), titre suivi du nom de l'onglet.
- Rien n'est envoye pour l'onglet qu'on a sous les yeux. Sinon l'onglet
  porte une icone d'attention (cloche ou notification), eteinte quand il
  reprend le focus.
- Cloche : indicateur d'onglet seulement. Pas de demande d'attention
  xdg-activation : cosmic-comp donne un jeton valide a toute application
  non sandboxee, la fenetre volerait le focus.
- Focus 1004 : l'onglet quitte recoit enfin son focus-out (seul l'onglet
  actif de chaque panneau etait mis a jour) ; un agent en arriere-plan ne
  croit plus qu'on le regarde.
- Chevrons du corps remplaces par ‹ › : cosmic-notifications lit le corps
  en HTML sans decoder les entites.

7 tests, dont un de bout en bout dans un vrai PTY.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 13:12:28 +02:00
.github Review fix: revert format step name change 2026-04-11 09:06:39 +02:00
color-schemes Update light theme normal white color 2026-02-18 10:24:06 -07:00
debian Epoch 1.9.0 version update 2026-09-15 19:09:43 -04:00
i18n yoda: notifications de bureau OSC 9/777 et cloche utile, a la Ghostty 2026-10-01 13:12:28 +02:00
res Generate translated desktop and metainfo files with xdgen 2026-02-12 15:23:04 -07:00
src yoda: notifications de bureau OSC 9/777 et cloche utile, a la Ghostty 2026-10-01 13:12:28 +02:00
.envrc Nix flake for developing in NixOS 2024-05-14 10:57:15 -06:00
.gitignore allow to build on pop_os with nix flake 2024-05-29 20:36:15 -06:00
ansi-colors.sh ansi-colors.sh: Add underlines 2024-01-16 11:36:05 -07:00
build.rs Generate translated desktop and metainfo files with xdgen 2026-02-12 15:23:04 -07:00
Cargo.lock yoda: notifications de bureau OSC 9/777 et cloche utile, a la Ghostty 2026-10-01 13:12:28 +02:00
Cargo.toml yoda: notifications de bureau OSC 9/777 et cloche utile, a la Ghostty 2026-10-01 13:12:28 +02:00
flake.lock Bump flake 2026-01-15 10:25:42 -05:00
flake.nix Fix nixpkgs duplication 2026-01-15 10:25:42 -05:00
i18n.toml Add config, translations, settings UI 2023-12-22 14:31:01 -07:00
justfile Generate translated desktop and metainfo files with xdgen 2026-02-12 15:23:04 -07:00
LICENSE Initial commit 2023-12-17 10:24:31 -07:00
README.md No longer WIP 2026-02-06 11:48:46 -07:00

cosmic-term

COSMIC terminal emulator, built using alacritty_terminal that is provided by the alacritty project. cosmic-term provides bidirectional rendering and ligatures with a custom renderer based on cosmic-text.

The wgpu feature, enabled by default, supports GPU rendering using glyphon and wgpu. If wgpu is not enabled or fails to initialize, then rendering falls back to using softbuffer and tiny-skia.

Color Schemes

Custom color schemes can be imported from the View -> Color schemes... menu item. You can find templates for color schemes in the color-schemes folder.