# Changelog
All notable changes to this project are documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.2.0] - 2026-06-24
### Added
- Persistent word-count HUD in the upper-right corner showing your running day total. It seeds from
the existing content of today's file when you open the app and updates live as you write. Hidden
until you have written at least two words; painted small and dim so it stays unobtrusive.
- Toggle between fullscreen and windowed mode from the Esc menu by pressing `W`; the menu shows a
state-aware `W — windowed` / `W — fullscreen` hint.
- A brief horizontal "shake" of the visible text on a backspace-clear, as kinetic feedback that the
wipe gesture registered.
### Changed
- The text column is now anchored to the vertical center of the window — the newest line sits just
below center and older lines scroll up — instead of being anchored to the bottom.
- The Esc-menu word count and the new HUD share one day-total calculation, so the two always agree
and match the seeded on-disk count.
### Fixed
- Pressing `W` to toggle windowed mode from the Esc menu no longer leaks a stray `w` into the
document. egui delivered both the key and its text in the same frame; the menu close is now
deferred until the whole event batch is processed.
## [0.1.1] - 2026-06-24
Initial release: a fullscreen, distraction-free, write-only Markdown editor that fades text away to
silence the writer's inner editor.
### Added
- Fullscreen, borderless, keyboard-only writing surface built on `egui`/`eframe`, with a black
canvas and a single bottom-anchored column of text.
- The fading focus view: each glyph stays fully opaque for ~30 seconds, then fades out over ~1
second and is pruned permanently. Older lines scroll off the top as you write.
- Append-only Markdown persistence to a per-day session file at
`~/Documents/write/YYYY-MM-DD.md` (falling back to the home directory), flushed and `fsync`'d
every ~30 seconds and on clean exit.
- Single-writer guarantee per day via an advisory file lock; a second instance for the same day
exits quietly.
- Writing controls: `Enter` for a paragraph break and, when pressed twice, a visual screen clear;
`Backspace` appends a space and clears the screen (never deletes); typed text is captured
verbatim, including accents and dead keys.
- Key-driven `Esc` menu showing a live word count, with `Q` to quit and `Esc` to resume.
- Deferred macOS fullscreen that waits until the window gains focus, avoiding a launch-time
activation race.