arxanas/git-branchless

Buffer is not cleared properly in scm-diff-editor

Closed this issue · 1 comments

Description of the bug

I've been encountering a weird issue where the on my new work machine when using scm-diff-editor within jj. I've been able to reproduce it with the standalone binary as well. It's also happening no matter which terminal emulator I use (tested with kitty the vscode integrated one, with and without tmux as well as when sshing into my work laptop from my personal one)

The two machines are set up identically, however the work laptop is slightly newer (14" M3 Macbook Pro vs 16" M2 Macbook Pro)

Expected behavior

No response

Actual behavior

The terminal buffer is not cleared correctly during rendering, making it very hard to use as a diff editor:
image

Version of rustc

rustc 1.79.0 (129f3b996 2024-06-10)

Automated bug report

No response

Version of git-branchless

No response

Version of git

No response

Closing since it's actually a duplicate of arxanas/scm-record#2 and martinvonz/jj#4001