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

[Feature Request] Strip leading spaces on command #2626

Closed
ganego opened this issue Mar 29, 2024 · 3 comments
Closed

[Feature Request] Strip leading spaces on command #2626

ganego opened this issue Mar 29, 2024 · 3 comments

Comments

@ganego
Copy link

ganego commented Mar 29, 2024

My niche problem: I copy a command from some DCC channel but I included the prepending space because I did not properly 'target' the slash before because it's hard for me to properly see it: /MSG user text.
Result: "Unknown command is an unknown server command"

Can it be changed that when kvirc encounters this error, instead of showing the error and aborting it will strip leading spaces and issue the command again - and only if that fails show the error?

Thank you

ctrlaltca added a commit to ctrlaltca/KVIrc that referenced this issue Mar 29, 2024
@ctrlaltca
Copy link
Contributor

ctrlaltca commented Mar 29, 2024

Hi, a fix is available at #2627 if you want to test it.
Anyway it will be available in the next KVIrc version.

@ganego
Copy link
Author

ganego commented Mar 29, 2024

When I opened this request I did not really expect it to be fixed (anytime soon), yet half an hour later there was a fix.
I'm impressed - thank you.

Don't really want to go through all the work to compile it myself, so I'll wait for the merge and try it in the nightly.

Thank you

@ganego
Copy link
Author

ganego commented Jun 5, 2024

Works, thank you again.

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

2 participants