Commit Graph

27 Commits

Author SHA1 Message Date
Kian-Meng Ang 2d0089893f Fix typos
Found via `codespell -L fo,te,oll`
2024-01-08 02:59:35 +08:00
Daniel Schwarz 0f39b1087f Support to display a limited set of HTML tags
HTML tag support is aligned with Mastodon 4.2 supported tags.
This code introduces a soft dependency on the urwidgets library.
If urwidgets is not available, HTML tags are still supported,
but hyperlinks are not underlined using the OCS 8 terminal
feature (on supported terminals).
2023-09-22 21:32:19 -04:00
Ivan Habunek afd349f1ab
Remove the monochrome palette
Monochrome colors should be defined as the third color in each tuple
instead.

In monochrome mode it's not possible to set the background so all
highlights can only be done using bold, italics, underline...
2023-07-08 12:33:34 +02:00
Ivan Habunek 94b4b35197
Tweak colors 2023-07-08 12:08:06 +02:00
Daniel Schwarz 28a3343761 Added sanity check tests to ensure PALETTE and MONO_PALETTE match
And fixed a bug uncovered by the above tests :)
2023-07-07 18:12:38 -04:00
Ivan Habunek 219225ba8a
Remove named colours
This is a prerequisite for configurable styling, since we don't want to
override "green" style to be yellow and such.
2023-07-07 13:57:19 +02:00
Ivan Habunek 9933180146
Improve colour names 2023-07-07 13:02:18 +02:00
Daniel Schwarz 8c3cec1aef --no-color now works for tui mode 2023-06-23 18:16:14 -04:00
Daniel Schwarz 88c444c411
Highlight followed tags 2023-01-02 14:25:30 +01:00
Dan Schwarz 6633b758bc Make the status detail key commands more visible
Some terminal color schemes completely eliminate the difference
between cyan and cyan-bold colors (all the base16 themes, for instance).
This change makes the key letters stand out clearly in bold white.
2023-01-01 08:59:44 +01:00
Daniel Schwarz fed5574939
Add bookmark timeline and bookmarking to tui 2022-12-27 12:15:20 +01:00
Finn O'leary a6e76e0bcb Fix VISIBILITY_OPTIONS
Reorder Visibility Options to be from "most visible" to "least visible",
and swap the definitions of "private" and "unlisted" to match the actual
visibility that results from those actions.
2020-01-26 10:19:24 +01:00
Ivan Habunek 60efc13338
Implement character count indicator when composing
Attempts to load max char count from the server on init.

issue #121
2020-01-03 09:15:11 +01:00
Ivan Habunek cf01cb9014
Cleanup palette slightly 2019-09-03 15:40:49 +02:00
Ivan Habunek 7e04ad55c6
Add links to help overlay 2019-09-03 15:40:49 +02:00
Ivan Habunek d5a2cc27ed
Add help 2019-09-03 15:40:48 +02:00
Ivan Habunek 1dce948166
Show content warning in status details 2019-09-03 15:40:47 +02:00
Ivan Habunek ab1fc6961b
Show media in status details 2019-09-03 15:40:46 +02:00
Ivan Habunek 9aadec6cfb
Add option to set status visibility 2019-09-03 15:40:44 +02:00
Ivan Habunek 366e9382d3
Implement posting statuses 2019-09-03 15:40:44 +02:00
Ivan Habunek b95aca964f
Show an intro screen while loading initial toots 2019-09-03 15:40:44 +02:00
Ivan Habunek 372976b1b2
Overhaul async actions, implement boost and reblog 2019-09-03 15:40:43 +02:00
Ivan Habunek 2be8cb8438
Show status source 2019-09-03 15:40:43 +02:00
Ivan Habunek dd1b462413
Highlight hashtags 2019-09-03 15:40:43 +02:00
Ivan Habunek 7da2e2dbbc
Handle reblogs 2019-09-03 15:40:43 +02:00
Ivan Habunek c99999161d
Render status details 2019-09-03 15:40:42 +02:00
Ivan Habunek ea1ef6f207
Initial implementation of a TUI using Urwid 2019-09-03 15:40:42 +02:00