-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
input after space delayed in cmder / clink / cmd #2815
Comments
@andi-blafasl this is the problem right here:
But that can't be shell specific (as to my knowledge). I'll check what could be the cause. |
@andi-blafasl the 150ms is actually not explainable unless the init script did not provide the shell name. I made sure to add it everywhere, the slowness in typing however can only be explained by tooltips being present. We might need to disable that when you're not actively using them. They're being rendered async, but maybe the version of clink is out of date on your end which causes that to render synchronous. So also please validate that. |
Hi Jan,
yes, i saw, that is a bit outdated. but the init duration is nearly the same on all shells:
any idea how to get detailed information why the init duration is so high? |
@andi-blafasl not immediately, it should not even resolve the shell name tbh. Not sure why it does that here. I'll validate myself on Windows as well. |
@andi-blafasl that's something I did, if you install 10.0.1, in theory this should no longer be an issue (install + restart the terminal). |
This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. |
Code of Conduct
What happened?
I try to use oh-my-posh with cmder. Did a fresh install of cmder Version 1.3.19.1181 (manual zip) and latest oh-my-posh (via winget) and integrated oh-my-posh via the oh-my-posh.lua script.
With this configuration, the shell is unusable slow while typing commands. After every space there is a huge delay.
The following example is copy-paste input:
yes, it is that slow in real time! ;-)
The issue only exists in cmd, no problem in bash (git-bash) or powershell
Just hitting enter is also very slow and I see ~150ms execution time in debug output.
Already added an exclusion to out Sophos Anti Virus. Also completely disabling the Anti Virus does not change this time
Using a custom Theme based on atomic. I removed the segments that I don't need and adjusted a view colors and the path layout. But the effect also happens with other Themes like the default one.
Theme
customized atomic
What OS are you seeing the problem on?
Windows
Which shell are you using?
other (please specify)
Log output
The text was updated successfully, but these errors were encountered: