-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add more actions to track menu and updated simplified chinese translation #966
Conversation
c382a21
to
1426767
Compare
This will need some more tweaking, and refactoring of the code above since I'd want the shortcuts to be f5 and del, not the current modifiers of enter, and current code doesn't allow that. I also see a bug in my code. Gimme a sec. |
All right:
---@param event MenuEventKey
local function handle_key(event)
if event.id == 'f5' then
reload()
elseif event.id == 'del' then
remove()
end
end and add it to |
1426767
to
91af1fc
Compare
Edit: I got something wrong and now implement it correctly. |
91af1fc
to
27a25da
Compare
27a25da
to
d48077a
Compare
Eh, there's lots more things to refactor here, but I won't torment you with these back and forths further. I'll take care of it. Thx for PR! |
No description provided.