chiark / gitweb /
Support unfolding and refolding of sensitive toots.
authorSimon Tatham <anakin@pobox.com>
Wed, 10 Jan 2024 08:41:48 +0000 (08:41 +0000)
committerSimon Tatham <anakin@pobox.com>
Thu, 11 Jan 2024 08:14:20 +0000 (08:14 +0000)
commitb7013418fa93816bcbdb017f62b276ed003cfdbc
treec998937428130b5be06a836a162e569741e9da95
parent1eed48aa679720525082c3a07b9f86dbfe92fc64
Support unfolding and refolding of sensitive toots.

There's a new highlight type for this, so that it can apply to
InReplyTo lines as well as statuses themselves.

The set of unfolded sensitive statuses needs to be shared between lots
of views of the data, so I've put it in the TuiLogicalState, under a
RefCell so that ActivityStates can all borrow it easily, not just to
look up in but also to modify.
TODO.md
src/file.rs
src/text.rs
src/tui.rs