RasmusLindroth / tut

TUI for Mastodon with vim inspired keys
https://tut.anv.nu
MIT License
447 stars 29 forks source link

Error: no key named Un[F]ollow #204

Closed nikolay closed 1 year ago

nikolay commented 1 year ago

I keep getting the following error when logging into hachyderm.io:

$ tut
error parsing config for key tag-follow. Error: no key named Un[F]ollow
RasmusLindroth commented 1 year ago

The line in your config.ini (~/.config/tut/config.ini) should be like this line.

If that doesn't work, could you send me your config.ini?

nikolay commented 1 year ago

@RasmusLindroth No such file exists. I created the example config, moved it in there, made sure that line exists, but it still is giving me the same error. I'm on macOS, by the way.

nikolay commented 1 year ago

@RasmusLindroth Also, every time I run tut, it starts XQuartz.

RasmusLindroth commented 1 year ago

Check /Users/<username>/Library/Application Support/tut

And what version are you running? You can get it with tut --version

HyperSuperMetaCtrl commented 1 year ago

I'm running arch and installed the package from the aur and am also trying to join hachyderm.io. I checked the config.ini and the the line you referenced is the same in my file. I still get this error.

tut --version 
tut version 1.0.23 
https://github.com/RasmusLindroth/tut

And here's my config (I didn't change anything from the default) config.ini.txt

nikolay commented 1 year ago

@RasmusLindroth It's the same situation with ~/Library/Application Support/tut/config.ini- that line exists in there. Here's the version output:

$ tut --version
tut version 1.0.23
https://github.com/RasmusLindroth/tut
RasmusLindroth commented 1 year ago

I see the mistake. I'll make a new release that fixes this.

In the meantime you can delete the line tag-follow="[F]ollow","Un[F]ollow",'f','F' from your config and it should work

HyperSuperMetaCtrl commented 1 year ago

Can confirm it works like this. Thank you for the your quick response.

RasmusLindroth commented 1 year ago

Thank you for reporting this bug. Not a good start for new users, but I hope you'll like tut anyway,

It's fixed now :)