ish icon indicating copy to clipboard operation
ish copied to clipboard

Cursor has offset in tmux

Open andre-karrlein opened this issue 5 years ago • 10 comments

With every typed character the cursor get a little offset to the left.

In this image the cursor is completely to the right. IMG_0191

I thought the problem was tmux, but it exists without tmux and over ssh, too.

andre-karrlein avatar Apr 29 '20 17:04 andre-karrlein

I've seen something similar happen when the font is changed. Is this using the default font?

tbodt avatar Apr 30 '20 07:04 tbodt

Also what programs does this happen in? I see busybox vi in the screenshot, does it happen elsewhere?

tbodt avatar Apr 30 '20 07:04 tbodt

I have recorded a video of the problem. Yes it is vi. In tmux it is a huge problem with menlo or Fira Coda (I have installed it).

https://drive.google.com/file/d/16_rkioCgqdAEVQPrRbXs9yCndQF2i5Pt/view

andre-karrlein avatar Apr 30 '20 15:04 andre-karrlein

I figured out, that the problem is definitely inside of tmux. I reinstalled iSH, and outside of tmux everything is fine. In tmux something is broken with the terminal. I've changed this setting (set -g default-terminal "screen-256color") to several other options, but the problem is still the same. Additionally the cursor is gone in neovim.

andre-karrlein avatar May 17 '20 10:05 andre-karrlein

This might be #558?

tbodt avatar May 17 '20 18:05 tbodt

I have the error in tmux, even if it is not splitted vertical or horizontal.

andre-karrlein avatar May 25 '20 16:05 andre-karrlein

Also seeing this issue in tmux.

Just-Insane avatar Oct 23 '20 04:10 Just-Insane

Seems I can reproduce it by repeatedly destroying and recreating a tmux window. My gut tells me it has something to do with pseudoterminal packet mode.

tbodt avatar Dec 06 '20 23:12 tbodt

@tbodt This still happens it appears.

Spaceghost avatar Dec 27 '21 02:12 Spaceghost

still seeing this :(

corrjo avatar Nov 16 '24 18:11 corrjo