Commit 420830f
committed
Pane(feat[capture_pane]): Add 5 new flag parameters
why: Expose more tmux capture-pane capabilities for advanced use cases
like capturing colored output, handling wrapped lines, and controlling
trailing space behavior.
what:
- Add escape_sequences parameter (-e flag) for ANSI escape sequences
- Add escape_non_printable parameter (-C flag) for octal escapes
- Add join_wrapped parameter (-J flag) for joining wrapped lines
- Add preserve_trailing parameter (-N flag) for trailing spaces
- Add trim_trailing parameter (-T flag) with tmux 3.4+ version check
- Issue warning when trim_trailing used with tmux < 3.41 parent bd13b1e commit 420830f
1 file changed
+64
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
323 | 329 | | |
324 | | - | |
| 330 | + | |
325 | 331 | | |
326 | 332 | | |
327 | 333 | | |
| |||
344 | 350 | | |
345 | 351 | | |
346 | 352 | | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
347 | 374 | | |
348 | 375 | | |
349 | 376 | | |
350 | 377 | | |
351 | 378 | | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
352 | 395 | | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
353 | 400 | | |
354 | 401 | | |
355 | 402 | | |
356 | 403 | | |
357 | 404 | | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
358 | 421 | | |
359 | 422 | | |
360 | 423 | | |
| |||
0 commit comments