You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
光标会不定期跳到缓冲区内,这是经常发生的事情。估计因为改变窗口大小触发的故障,看起来与psreadline有关。因为禁用psreadline时,没有发生过此问题。
我使用的Termux for android控制台.安装了Aarch, Fedora。故障相同。
The cursor can be often misplaced, which could be caused by the resizing of the window when the input-pad becomes active/inactive.
It's very possible related to PSReadLine as it works fine when PSReadLine is unloaded.
This happens in Termux, an Android terminal emulator and Linux environment application. Aarch, Fedora are installed.
Can you run the script contained in the issue template in this instance of PowerShell? I think it would be good to include the output of the script here. A screen-shot of the output would be fine.
he852100 The stack trace shown in your screenshot doesn't look like related to PSReadLine. It's a NullReferenceException in PowerShell remoting code. If that's the case, you should report the issue in the PowerShell repo instead.
he852100 Given the screenshot full of exception stack trace, it was not clear to me what exact is the issue you were reporting. It would be helpful if you can edit #1269 (comment) to better describe the issue.
I don't have the device to reproduce the issue, but my guess is that the console window gets resized when the on-screen keyboard is activated. Resizing the console window could cause the cursor to be misplaced.
he852100 This is the first time I learnt that PowerShell gets used in a Android terminal emulator, very interesting :)
In SDRausty/TermuxArch#201, you mentioned that the misplacement of cursor also happened without using pwsh, and reply was that termux/termux-app#1390 might resolve the issue. Have you tried out the fix? Is the cursor misplacement gone with that fix when not using pwsh?
Dongbo Wang (@daxian-dbw) This seems to be a problem specific to pwsh,When using pwsh, the fault occurs continuously.Use bash andzsheverything is fine.
1390 provides a way to clear the buffer,I don't think they're directly connected。
Activity
msftrncs commentedon Dec 27, 2019
Can you run the script contained in the issue template in this instance of PowerShell? I think it would be good to include the output of the script here. A screen-shot of the output would be fine.
he852100 commentedon Dec 27, 2019
daxian-dbw commentedon Dec 28, 2019
he852100 The stack trace shown in your screenshot doesn't look like related to PSReadLine. It's a NullReferenceException in PowerShell remoting code. If that's the case, you should report the issue in the PowerShell repo instead.
he852100 commentedon Dec 28, 2019
Dongbo Wang (@daxian-dbw) 输入字符时光标跳到了缓冲区。这也是他们的问题吗?可是当我禁用psreadline后没有出现这种问题。
daxian-dbw commentedon Dec 28, 2019
he852100 Given the screenshot full of exception stack trace, it was not clear to me what exact is the issue you were reporting. It would be helpful if you can edit #1269 (comment) to better describe the issue.
I don't have the device to reproduce the issue, but my guess is that the console window gets resized when the on-screen keyboard is activated. Resizing the console window could cause the cursor to be misplaced.
[-]Buffer is overwritten[/-][+]Cursor jumps to buffer[/+]daxian-dbw commentedon Jan 3, 2020
he852100 This is the first time I learnt that PowerShell gets used in a Android terminal emulator, very interesting :)
In SDRausty/TermuxArch#201, you mentioned that the misplacement of cursor also happened without using
pwsh, and reply was that termux/termux-app#1390 might resolve the issue. Have you tried out the fix? Is the cursor misplacement gone with that fix when not usingpwsh?[-]Cursor jumps to buffer[/-][+]Cursor misplacement: cursor jumps to buffer[/+]he852100 commentedon Jan 3, 2020
Dongbo Wang (@daxian-dbw) This seems to be a problem specific to
pwsh,When usingpwsh, the fault occurs continuously.Usebashandzsheverything is fine.1390 provides a way to clear the buffer,I don't think they're directly connected。
he852100 commentedon Jan 3, 2020
Progress bar,
StevenBucher98 commentedon Oct 30, 2023
Closing to track in #3637