Commit 7610e51
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 62f63be commit 7610e51
1 file changed
+64
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
325 | 331 | | |
326 | | - | |
| 332 | + | |
327 | 333 | | |
328 | 334 | | |
329 | 335 | | |
| |||
346 | 352 | | |
347 | 353 | | |
348 | 354 | | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
349 | 376 | | |
350 | 377 | | |
351 | 378 | | |
352 | 379 | | |
353 | 380 | | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
354 | 397 | | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
355 | 402 | | |
356 | 403 | | |
357 | 404 | | |
358 | 405 | | |
359 | 406 | | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
360 | 423 | | |
361 | 424 | | |
362 | 425 | | |
| |||
0 commit comments