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

Confirmation Dialogue - How to interact? #3583

Closed
zhdenny opened this issue May 20, 2024 · 3 comments
Closed

Confirmation Dialogue - How to interact? #3583

zhdenny opened this issue May 20, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@zhdenny
Copy link

zhdenny commented May 20, 2024

I occasionally receive Yes/No confirmation dialogue messages in the Command Log.....How do I interact with these messages!?
When I see the message, I press "y" or "n" but that doesn't work.
Screenshot below is just one example....it isn't the only confirmation message I see.

According to the Keybindings Chart:
"y" is to "Copy to Clipboard"
"n" doesn't do anything.

I tried to mouse click over the "Command Log" window. That doesn't do anything. I'm not really sure what to do here.

image

@zhdenny zhdenny added the bug Something isn't working label May 20, 2024
@stefanhaller
Copy link
Collaborator

There's no way to interact with these, I'm afraid. Where do they come from?

Lazygit only has support for certain kinds of prompts that occur during certain operations, e.g. when you push and ssh asks you for a passphrase. The one in the screenshot doesn't look like a standard prompt (never seen it myself).

@zhdenny
Copy link
Author

zhdenny commented May 20, 2024

I cd into a git repo in my terminal, type "lazygit", lazygit opens and I see this message immediately almost all the time.

image

@zhdenny
Copy link
Author

zhdenny commented May 20, 2024

Maybe this has to do with using ssh to authenticate into github....and "StrictHostKeyChecking ask" setting in ssh_config file. I'll experiment with changing that to:

Host github.com
     StrictHostKeyChecking no

This seems to have solved this specific confirmation dialogue. I guess these various confirmation dialogue messages are all just coming straight from git itself and I should search for how to suppress any confirmation dialogue lazygit does not support.

@zhdenny zhdenny closed this as completed May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants