Commit edd225a
committed
Improve shell command output handling to prevent screen flicker
- Buffer shell command output instead of streaming it
- Yield shell output as a single chunk after completion
- Allow truncation to happen once instead of per-chunk
- Maintain streaming behavior for non-shell languages
This significantly improves the user experience when viewing large files
with commands like 'type' or 'cat' by preventing excessive screen updates.
Note: Long-running shell commands won't show progress until completion.
Related: #issue_number (if there is one)1 parent 6b1acdd commit edd225a
1 file changed
+21
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
166 | 170 | | |
167 | 171 | | |
168 | 172 | | |
| |||
180 | 184 | | |
181 | 185 | | |
182 | 186 | | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
183 | 194 | | |
184 | 195 | | |
185 | | - | |
| 196 | + | |
186 | 197 | | |
187 | 198 | | |
188 | 199 | | |
189 | 200 | | |
| 201 | + | |
190 | 202 | | |
191 | 203 | | |
192 | 204 | | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
193 | 213 | | |
194 | 214 | | |
195 | 215 | | |
| |||
0 commit comments