martanne / abduco

abduco provides session management i.e. it allows programs to be run independently from its controlling terminal. That is programs can be detached - run in the background - and then later reattached. Together with dvtm it provides a simpler and cleaner alternative to tmux or screen.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Buffer corruption with dvtm and kakoune

perpen opened this issue · comments

I am running abduco -> dvtm -> kakoune (the text editor) and find my buffer systematically corrupted.
This seems to be happening as I move the cursor down the buffer: kakoune displays the line number in its status bar, and as well in the title of the terminal. As the cursor passes a 10-modulo boundary the original buffer text scrolls up by one line, including the dvtm tags at the top. The only way to fix this is by pressing C-g C-l to get dvtm to redraw the screen.

This does not happen if:

  • I recompile dvtm not to set the term title (term_title_handler)
  • I run dvtm and kakoune without abduco.

I got a similar issue just running less, but only once and I am unable to reproduce this.

I use the Chrome Secure Shell ssh client, but confirmed the same issue with urxvt.

Closing this as I am getting the same problems with dtach. I will raise an issue with dvtm or kakoune, first I'll try to see who's the most likely culprit.