Running gsutil command breaks -EditMode Emacs for the rest of the session.
See original GitHub issueEnvironment
PS version: 6.2.1
PSReadline version: 2.1.0
os: 10.0.19041.1 (WinBuild.160101.0800)
PS file version: 6.2.1.0
HostName: ConsoleHost
BufferWidth: 172
BufferHeight: 9001
Steps to reproduce
I am using Set-PSReadLineOption -EditMode Emacs
. When I run a gsutil command, for example gsutil ls
, Emacs mode is at least partially broken.
Specifically, “ctrl+a” reverts to being select-all rather than “go to beginning of line.” I don’t think auth is required to trigger the issue, I get it just after doing this:
> gsutil ls
You are attempting to perform an operation that requires a project id, with none configured. Please re-run gsutil config and make sure to follow the instructions for finding and entering your default project id.
ctrl+a is broken until I close the powershell window. I assume gsutil is sending some sort of control character? I’m not sure what the simplest way to do a binary analysis of what it’s outputting is.
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (4 by maintainers)
Top Results From Across the Web
Changed Paths · GitHub
GrahamcOfBorg/Changed Paths ... This file has been truncated, but you can view the full file. aarch64-linux python310Packages.nixpkgs- ...
Read more >vSRX Virtual Firewall Deployment Guide for Private and ...
Run the show security flow session summary | grep maximum command to view the maximum number of sessions. Starting in Junos OS Release ......
Read more >sitemap-questions-164.xml
... -not-start-selenium-session-internal-server-error-error-running 2019-04-23 ... -i-set-up-arbitrary-commands-in-an-eclipse-java-project-run-configuration ...
Read more >Read more
... 2022-08-24 https://stackoverflow.com/questions/857355/how-to-compile-a-c-program-using-net-framework-compilers-at-command-line 2022-08-23 ...
Read more >User Guide - Black Duck - Synopsys
Running a component scan using the Signature Scanner command line. ... Within a terminal session, run the following command (changing the ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes.
That’s why I was suspecting maybe something else is playing a role in combination with
gsutil
for the terminal/console to behave differently. And I cannot reproduce it on my local Windows 11 machine as well (https://github.com/PowerShell/PSReadLine/issues/1970#issuecomment-1540986766).