From c16c778c60deaafa0c9e5bbc1db9a10f64fec9b2 Mon Sep 17 00:00:00 2001 From: Calvin Morrison Date: Sat, 22 Aug 2026 19:12:15 -0400 Subject: pim: a window for each kind of thing, and a picker for dates cal9 kept an event in a panel and a day in another, with the state that implies: a selection, a picked day, rectangles for the buttons on it, and a hundred-odd lines to draw it. Opening a window instead deletes all of that rather than tidying it away. Clicking an event opens cal9 -v event, clicking a day opens cal9 -v day, and cal9 is three grids again. The event window earns being cal9 rather than pim/showwin: it carries Accept, Tentative and Declined, lit to show where you stand, and only when the calendar's ctl says it can rsvp. cal9 -v invite is a form that writes the calendar's new file in the tree's key: value form, so the composer knows nothing about iCalendar either. datepick is a program rather than a widget so anything can use it: pim/agenda -d `{datepick} -t asks for a time as well, in stages, because a grid of ninety-six five-minute slots is not something you want to aim at. A window started from wctl has nowhere useful to print, so -o and -s hand the answer back by file or by snarf; the invite form spawns it that way and fills the field when it returns. An event you have not answered draws pale, so a glance at the week says what is still waiting. Move and Resize are gone from the menus: rio owns the border and does both, better. Compact is one item showing whichever state you are not in. Co-Authored-By: Claude Opus 5 --- pim/.gitignore | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pim/.gitignore') diff --git a/pim/.gitignore b/pim/.gitignore index 637cff0..2db36b4 100644 --- a/pim/.gitignore +++ b/pim/.gitignore @@ -7,8 +7,10 @@ bin/ /icalfs /caldavfs /cal9 +/datepick # and "go build" inside a cmd directory leaves it there cmd/*/icalfs cmd/*/caldavfs cmd/*/cal9 +cmd/*/datepick -- cgit v1.2.3