-
Notifications
You must be signed in to change notification settings - Fork 6
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
Cannot get out of help menu #62
Comments
It should go back to the default view when you press |
Does not seem to work sadly. Tried with both macos Stock Terminal and iTerm. |
Looks like other keys like 'q' or 'ctrl+c" also dont work as if the whole tool is unresponsive |
Interesting. Thanks for reporting it. Obviously "it works for me", lol. If you'd be willing to help with this issue, I can add some more debugging information so that you can run it in debug mode to collect more data. 🙂 |
sure! I'd be happy to help. Love this tool, already makes life a lot easier. I am just not as proficient in go/bubbletea. |
Thank you! Glad it's helping you.
That's fine! I would just need you to send me the log file later. I'll add some targeted debug logs. Give me a few days, I'll let you know once it's ready. |
No problem! Thanks for your work |
Hi @Askath, could you please pull the latest commit from this branch: https://github.com/siddhantac/puffin/tree/better-debug You can run the debug version in 2 ways:
Both methods are equivalent, and it doesn't really matter which one you pick :) The debug log will be written to Once the program is running, please press the help key ( And finally, please let me know which platform you are running it on! |
Will do when I am done with work later this day |
Okay here is the log, had some more time. I am using an mac pro m3, using Terminal.app and iterm emulator. debug 2024/09/11 09:39:07 init puffin v2.1.0 |
There's some interesting stuff in there. Are you using some keymap modifier software or a specialty keyboard?
|
yeah I noticed that. the alt+ is alt+ is what happens when I press '?' in the help menu I think. This "debug 2024/09/11 09:40:43 root: msg: tea.KeyMsg, 000/0000/0000" could be me pressing cmd+t as I opened a new tab in the terminal to close puffin. Let me try it with a different keyboard edit: I am using the glove 80, but tried it on the mac keyboard aswell and same issue |
thats the log when using the normal mac keyboard. I am more confused than before. I only open puffin, and pressed ? twice. debug 2024/09/11 10:33:08 init puffin v2.1.0 |
found this issue in bubbletea charmbracelet/bubbletea#1126 Seems like the weird b:1e1e/1e1e/1e1e strings are a known problem in the current version of bubbletea. |
Lowered the bubbletea version to 26.2 to try it out, and now puffin works perfect again :) |
Thanks for investigating! I'll update the go.mod accordingly. :) |
I just build new the current version 2.1 and noticed that after pressing '?' and seeing the keybindings, I cannot get back to the main screen.
Not sure if there is a keybind I am missing or if I messed something else up.
The text was updated successfully, but these errors were encountered: