Commit 763ced2
committed
Flicker: Fix shell output handling to work cross-platform
Previously, shell output buffering caused rich console rendering errors on Linux
while working fine on Windows. This update:
- Fixed indentation of non-console chunk handling to ensure proper yielding
- Simplified buffering logic to be more platform-agnostic
- Ensured all chunk types are properly processed regardless of platform
The changes maintain the benefits of reduced screen flicker for large outputs
(like 'type' or 'cat' commands) while now working correctly on both Windows
and Linux systems.
Note: Shell commands still won't show progress until completion, but output
is now properly rendered on all platforms.1 parent edd225a commit 763ced2
1 file changed
+14
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
204 | 207 | | |
205 | 208 | | |
206 | 209 | | |
| |||
0 commit comments