-
Notifications
You must be signed in to change notification settings - Fork 304
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
Exception on non-Windows w/ command line w/ more lines than visible console buffer #663
Comments
I don't have a Mac and I tried the same on Windows without an exception. The stack you report is hit after nearly every single character, so I think there must be something very special about what was pasted and how. Can you try to provide some more specifics, maybe reproduce the problem with a smaller piece of text? Without more information, this would be extremely difficult to fix. |
Definitely. I've been planning to look into some of these Mac related issues myself. I just wanted to make sure I didn't forget about the issue before I had a chance. |
After a fair amount of experimentation, I've found that this error occurs whenever the number of lines pasted without immediate execution is greater than the number of visible lines in the terminal window. I also found that it's reproducible in the standard Mac terminal and Hyper, as well. Steps to reproduce:
I haven't gotten a chance to take a look at the code at all, yet, to see why this is occurring. I'll try to get to that soon. |
Thanks for narrowing down the problem - I can reproduce on Linux as well, I've updated the title accordingly. |
Just another data point, I believe I'm experiencing this when listing available completions by pressing
Also, this may be obvious, but I'd rather include it just in case: I found that the value of the parameter |
I would call that a distinct bug with the same symptom. The fix will definitely be different - we should just display possible completions without using the menu if it doesn't fit on the screen. |
I'm working on this one |
Get the same error cutting and pasting into the integrated console. If I kill the terminal windows using the 'bin' icon and restart it resumes working... |
Hi, did you have any time to look at this issue? it's quite persistent on all of my envs (mac, conemu, ssh to pwsh) Edited: |
if not already fixed, its likely fixed by #979. |
Fixed by #979 |
Environment data
Steps to reproduce or exception report
This occurred while attempting to paste in the Get-IniContent function at https://gallery.technet.microsoft.com/scriptcenter/ea40c1ef-c856-434b-b8fb-ebd7a76e8d91
The text was updated successfully, but these errors were encountered: