1
0
mirror of https://github.com/ihabunek/toot synced 2024-12-24 16:10:52 +01:00
Commit Graph

8 Commits

Author SHA1 Message Date
Daniel Schwarz
0fc2ec12f5
Display images 2024-04-13 08:28:28 +02:00
Ivan Habunek
3eebbe35c9
Change option to lowercase 2024-03-09 10:16:41 +01:00
Lexi Winter
1ed129f5dd tui: add --always-show-sensitive option
When enabled, this option expands toots with content warnings
automatically, instead of requiring the user to press 'S'.
2023-12-31 18:54:56 +00:00
Lexi Winter
5dd53b1b9c tui: honour user's default visibility preference
Mastodon allows the user to configure a default visibility which should
apply to all clients.  This setting is returned by the
/api/v1/preferences method.

Fetch the user preferences when the TUI starts, and use it to set the
default visibility when composing a new toot.  The preference can be
overridden by a new command-line option, toot tui --default-visibility=.
If neither the preference nor the option are set, fall back to
get_default_visibility().
2023-12-31 18:20:47 +00:00
Ivan Habunek
f72e4ba844
Move code from toot.tui.base to toot.tui 2023-12-14 11:35:52 +01:00
Ivan Habunek
bbf67c6736
Pass tui options through cli options 2023-12-07 19:27:26 +01:00
Ivan Habunek
a653b557b4
Fix formatting 2023-12-05 09:25:02 +01:00
Ivan Habunek
4dfab69f3b
Add tui command 2023-12-03 13:53:52 +01:00