tmux-python/libtmux

fetch_objs breaks when buffer_sample contains pipe symbol |

hongwen000 opened this issue · 0 comments

The following is a sample output. In this output, the correct value of buffer_sample is "eval /home/aaa/miniconda3/bin/conda "shell.fish" "hook" $argv | source\n", however, fetch_objs recognizes the pipe symbol as a delimiter, resulting in an error in the entire parsing process.

|0|4294967295|4294967295|buffer445|eval /home/aaa/miniconda3/bin/conda "shell.fish" "hook" \$argv | source\n|72||||||||||||||||||/home/lixr/.tmux.conf|||||| |1|38|0|4844|50000|1|0|1|1|0|0|0|0|0|0|0|$19|0|1|default|65|zsh|/home/aaa||||default|66|%31|0|0|865720|269|||/home/aaa|8,16,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,160,168,176,184,192,200,208,216,224,232,240,248,256,264|0|/dev/pts/37|270|12830||65|0||||||1674096551||0||1674096551|||||$7||0119_1024_23_art_ci|/home/lixr/repo/androidtools|0|1|/tmp/tmux-1011/default|1672646611|1011|aaa|3.3a|1|0|1|1674096552|7|2|66|@17|0|6461,270x66,0,0,31|0|1|0119_1024_23_art_ci|0|zsh|||1|*|0|270|1|