PSReadLine: AWS Session Manager - Slow while write / pasting code
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues, especially the pinned issues.
Exception report
N/A
Screenshot
Hard to demonstrate, since it will look like just slow typing.
Environment data
Name Value
---- -----
PSVersion 7.3.7
PSEdition Core
GitCommitId 7.3.7
OS Linux 6.1.52-71.125.amzn2023.aarch64 #1 SMP Tue Sep 12 21:41:10 UTC 2023
Platform Unix
OS: AL2023 arm based.
PSReadLine Version: 2.3.3
Steps to reproduce
I started from a fresh install.
-
Spin up EC2 w/ AL2023 ARM base processor (unsure if its ARM related, doubt it, but throwing it out there)
-
Install powershell as such:
sudo dnf install -y libicu
sudo curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v7.3.7/powershell-7.3.7-linux-arm64.tar.gz
sudo mkdir -p /opt/microsoft/powershell/7
sudo tar zxf /tmp/powershell.tar.gz -C /opt/microsoft/powershell/7
sudo chmod +x /opt/microsoft/powershell/7/pwsh
sudo ln -s /opt/microsoft/powershell/7/pwsh /usr/bin/pwsh
-
Log in to the EC2 via Session Manager
-
Run pwsh
-
Start Typing or paste code
Expected behavior
Not lag behind or take a long time to paste
Actual behavior
Very slow to type. Very slow to paste.
If you uninstall PSReadLine, it all works fine.
About this issue
- Original URL
- State: closed
- Created 9 months ago
- Comments: 24 (7 by maintainers)
For some closure, this issue seems to have been resolved in Session Manager.
Both have no colors, tab, etc.
@StevenBucher98 Can you please ask your contact at AWS to take another look at this issue? Given the issue happens when connecting to the VM console with a browser and works fine when the client OS is Windows, the root cause may lie in their session manager.
I am getting this in most of my environments quite frankly. But they are all mostly running AL2023.
At first I thought I was perhaps contaminating the environments somehow, thats why I created a fresh EC2 w/ AL2023 and installed just pwsh and it does it there too.