Comments (1)
The pipes passed by Vim are all closed by the time it calls
ClosePseudoConsole
, I've read the remark in the docs regarding the possibility for the function to hang, but here I'm not sure it applies to this case.
It does apply unfortunately. You must keep the output pipe open and read from it until after ClosePseudoConsole
has returned.
Because this was difficult to use, we have modified ClosePseudoConsole
in Windows 11 24H2 to never block. But that doesn't fix the issue on older Windows versions of course. I'm afraid this is an issue that vim must fix on their side for now (especially since this flaw was publicly documented for a long time).
Windows 11 24H2 also contains a ReleasePseudoConsole
API with which you can simply read the output pipe until it's closed on you. That way you don't need to monitor whether the spawned child has exited, which makes it even safer to use.
from terminal.
Related Issues (20)
- Closing One Instance of Windows Terminal Closes All Instances When unfocusedAppearance with Opacity 100 is Enabled HOT 2
- scroll-out in secondary console buffer pollutes main scrollback buffer HOT 6
- Trying new `wt x-save foo` for snippets with Canary but `wt` is pointing towards wt-stable HOT 2
- Different color for Admin terminals HOT 3
- Please update building documentation
- ColorTool.exe -c results in a misaligned chart HOT 2
- Restoring exited panes should not restart them HOT 1
- sixel unexpected background fill HOT 2
- GitHub Issue Duplicate Detector HOT 1
- [Windows Terminal - Command Palette]: Clear buffer button is not functional via mouse and keyboard. HOT 2
- [Windows Terminal]: Screen reader is just announcing a single character information while navigating using ctrl + left/right arrow keys in mark mode. HOT 4
- Cooked read can hang when editing a line with control characters
- Introduce keyboard shortcut for Clear buffer command
- [Windows Terminal]: Name of the tabs are getting truncated and not visible properly at 200% text scaling. HOT 2
- [Windows Terminal - Settings - Color Schemes]: 'Add new' button's text is getting truncated and not visible properly at 200% text scaling. HOT 3
- [Windows Terminal - Settings - Color schemes]: 'Are you sure you want to delete this color scheme' text is getting truncated from 'Delete' dialog at 200% text scaling HOT 3
- [Windows Terminal]: Selected state of controls present in 'Find' is not visible properly in dark mode. HOT 3
- [WCAG 2.2] [Windows Terminal - Multiple Tab]: No single pointer alternative is provided to move the tabs. HOT 5
- [Windows Terminal - Settings - Startup]: No number is shown for the 'Launch size' and 'Launch parameters' group controls by 'Show numbers' command of Voice Access. HOT 2
- [Windows Terminal - Settings]: In dark mode, Luminosity ratio for 'Reset to inherited value' icon is '2.6:1', which is less than required '3:1'. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terminal.