Skip to content
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

Not working, it close the program #18

Open
Fe316 opened this issue Jun 22, 2024 · 6 comments
Open

Not working, it close the program #18

Fe316 opened this issue Jun 22, 2024 · 6 comments

Comments

@Fe316
Copy link

Fe316 commented Jun 22, 2024

Simply the program close if I select an option in the menu.
No other messages.

Running on Arch

@WoozyMasta
Copy link
Owner

Run with debug:

exec 3>dayz-ctl.log
export BASH_XTRACEFD=3
bash -x dayz-ctl 

Afterwards you can study the problem yourself in the file dayz-ctl.log or share the log using pastebin or a similar service

@lopdop
Copy link

lopdop commented Jul 15, 2024

I encountered same on another Arch distribution.
Downgraded gum 14.1 to 13 - and this corrected the issue.

@airtonix
Copy link
Contributor

@WoozyMasta more evidence that you need something like #17 (comment)

@WoozyMasta
Copy link
Owner

oh yeah, enter is not select according to the logic of the gum authors
you need to press space to select the item, and then confirm the input.
this happened with the gum 0.10 update charmbracelet/gum#339

duplicate of #13

@WoozyMasta
Copy link
Owner

I think it's probably possible to add processing to the code, that if an exit was made from certain menus, then you need to select the default menu item
but this will break the logic of returning to the previous menu

I'm not ready to take on making changes to the logic yet, or press the space bar or downgrade gum below version 0.10

@JackJ30
Copy link

JackJ30 commented Aug 4, 2024

I'm getting this too, not sure what to do about it, the space thing doesn't work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants