Commit 02ee2e9
FIXED: Windows: quitting the pager of help/1 left the screen cleared
A pager on Windows takes a screen buffer of its own from the console
API, and the console swaps back to the previous one when it exits: that
is what puts the terminal back as it was. A pseudo console does not
carry those calls -- its alternate screen is the DEC private mode and
nothing else -- so an Epilog window was left with whatever the pager
had drawn on it. with_pager/1 now asks for the alternate screen itself.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VnmviTFXmNbwtckwLhxHvP1 parent 20a39b4 commit 02ee2e9
1 file changed
Lines changed: 36 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
355 | 364 | | |
356 | 365 | | |
357 | 366 | | |
| |||
364 | 373 | | |
365 | 374 | | |
366 | 375 | | |
367 | | - | |
368 | | - | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
369 | 403 | | |
370 | 404 | | |
371 | 405 | | |
| |||
0 commit comments