Skip to content

Add keyboard shortcut to showNewStatuses

Hello, it would be nice if I could see new notices by pressing a key instead of having to move the cursor on the Show new button and click on it.

I think twitter used the '.' button for this.

I tried to do it myself by adding @keydown.190="showNewStatuses && showNewStatuses()" to the button in src/components/timeline/timeline.vue, but that only works when the button is focused, which defeats the purpose. And I don't know how to add a keybinding that works when anything except an input is focused in this framework.

Edited by nee