diff --git a/README.md b/README.md index c73a094..53c23be 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ Tut is configurable, so you can change things like the colors, the default timel what image viewer to use and some more. Check out the configuration file to see all the options. -You find it in `XDG_CONFIG_HOME/tut/config.ini` which usally equals to `~/.config/tut/config.ini`. +You find it in `XDG_CONFIG_HOME/tut/config.ini` which usually equals to `~/.config/tut/config.ini`. You can find an updated configuration file in this repo named `config.example.ini`. If there are any new configurations options you can copy them frome that file. @@ -122,11 +122,11 @@ https://pkgs.alpinelinux.org/package/edge/community/x86_64/tut ### Debian -http://packages.azlux.fr/ (I'm not the maintainer) +http://packages.azlux.fr/ ### FreeBSD -https://www.freshports.org/net-im/tut (I'm not the maintainer) +https://www.freshports.org/net-im/tut ### openSUSE diff --git a/config/help.tmpl b/config/help.tmpl index b3e7600..a2ac302 100644 --- a/config/help.tmpl +++ b/config/help.tmpl @@ -51,6 +51,9 @@ Here's a list of supported commands. {{ Color .Style.TextSpecial2 }}{{ Flags "b" }}:compose{{ Flags "-" }}{{ Color .Style.Text }} Compose a new toot +{{ Color .Style.TextSpecial2 }}{{ Flags "b" }}:edit{{ Flags "-" }}{{ Color .Style.Text }} + Edit one of your toots + {{ Color .Style.TextSpecial2 }}{{ Flags "b" }}:favorited{{ Flags "-" }}{{ Color .Style.Text }} Lists toots you've favorited diff --git a/main.go b/main.go index 19f13c1..6b96a5b 100644 --- a/main.go +++ b/main.go @@ -8,7 +8,7 @@ import ( "github.com/rivo/tview" ) -const version = "1.0.21" +const version = "1.0.22" func main() { util.SetTerminalTitle("tut") diff --git a/ui/composeview.go b/ui/composeview.go index 41b1278..45d336d 100644 --- a/ui/composeview.go +++ b/ui/composeview.go @@ -421,7 +421,7 @@ func (cv *ComposeView) Post() { send.InReplyToID = toot.Reply.ID } if toot.Edit != nil && toot.Edit.InReplyToID != nil { - send.InReplyToID = toot.Edit.InReplyToID.(mastodon.ID) + send.InReplyToID = mastodon.ID(toot.Edit.InReplyToID.(string)) } if toot.Sensitive { send.Sensitive = true