Commit 557681c
committed
Pane(feat[capture_frame]): Forward capture_pane() flags
why: Allow users to control capture behavior when using capture_frame()
for snapshot testing, such as capturing colored output or joining
wrapped lines.
what:
- Add escape_sequences parameter for ANSI escape sequences
- Add escape_non_printable parameter for octal escapes
- Add join_wrapped parameter for joining wrapped lines
- Add preserve_trailing parameter for trailing spaces
- Add trim_trailing parameter with tmux 3.4+ version check
- Forward all flags to capture_pane() call1 parent 4530e8f commit 557681c
1 file changed
+29
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
430 | 430 | | |
431 | 431 | | |
432 | 432 | | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
433 | 438 | | |
434 | | - | |
| 439 | + | |
435 | 440 | | |
436 | 441 | | |
437 | 442 | | |
| |||
460 | 465 | | |
461 | 466 | | |
462 | 467 | | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
463 | 481 | | |
464 | 482 | | |
465 | 483 | | |
| |||
486 | 504 | | |
487 | 505 | | |
488 | 506 | | |
489 | | - | |
490 | | - | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
491 | 517 | | |
492 | 518 | | |
493 | 519 | | |
| |||
0 commit comments