Yoichi NAKAYAMA

Results 16 comments of Yoichi NAKAYAMA

I found that `git diff --color=always` does not guarantee the escape sequence between CR and LF on each line. So this It wasn't enough for #754. > I think we...

The problem specfic to `git add -p` is that if we preserve CRs (and other control characters) and want to show them, we must translate them to something printable (e.g....

In 4ac5035, I've removed the option caret-encode added in this PR. Note * The replacement process can be placed earlier, but it makes the input caret notation and control characters...

https://github.com/dandavison/delta/pull/664 is not the only cause. byte_lines may also strip CR. The correct course will be * prevent byte_lines removing CR * strip CR only if delta writes to console

> strip CR only if delta writes to console I've tried this by applying sample code in https://rosettacode.org/wiki/Check_output_device_is_a_terminal#Rust But it didn't work with `git add -p`. To find a solution,...

> This (=CR erases the line) does not happen with the default pager. Why does this happen with delta? I found right_fill_background_color's output overwrites the text before CR. Without interactive.diffFilter,...

> I think one solution is to define delta's new command line option to replace control characters by caret notations (like `less --RAW-CONTROL-CHARS` on terminal) and use the option in...

WezTerm-macos-20201101-103216-403d002d crashes with following command. Is there some error handling issue? ``` printf "\x1bPqh" ```

> * For more information please refer to the stack overflow post: https://stackoverflow.com/questions/64484107/pygit2-set-branch-to-upstream-branch Page not found

To get the expected result (without throwing exception), create list as: ``` >>> 'branch_no_exist/' in list(repo.branches) False ```