tabby icon indicating copy to clipboard operation
tabby copied to clipboard

If type two dashes when input parameter like "--version", the cursor will stay on second dash.

Open suyangzuo opened this issue 1 year ago • 4 comments

If type two dashes when input parameter like "--version", the cursor will stay in second dash.

To Reproduce:

  1. type command like "sqlite3 --version"
  2. there is a cursor stay on second dash.

two-dashes

suyangzuo avatar Mar 10 '24 23:03 suyangzuo

This happens even if font ligatures are disabled.

Also, any text on the screen that contains double dash seem weird.

image

This happens when the text is slided from down to up or vice versa. When we change tabs (which essentially refreshes the terminal screen) everything seem fine, up until to scroll it.

Edit: Just noticed, double slashes are also problematic, like internal://0.0.0.0

ramazanpolat avatar Jun 14 '24 06:06 ramazanpolat

I get this same behavior with #! and #_ as well: image

I've tested a few different punctuation/special char combos, as you can see from the string in the image. The #_ (the last combo with this issue in the pictured string) appears to also create some odd ligature-like result as well, which makes me think this issue may be related or similar to this one: https://github.com/Eugeny/tabby/issues/9848

UPDATE: Issue doesn't only occur with special characters. "fi" will leave the cursor over "i".

Matthew-WSP avatar Sep 25 '24 15:09 Matthew-WSP

After switching the Terminal Frontend to Canvas I thought to test this again, and found it no longer occurs. I switched back to WebGL and found the behavior no longer occurs there either.

So, I'm not sure if this was patched out, if switching the Frontend fixes something, or what.

Matthew-WSP avatar Feb 10 '25 15:02 Matthew-WSP

@Matthew-WSP, I just switched to xterm (canvas) without switching back and that fixed the problem. Thank you for the idea!

ahmad-elkomy avatar May 08 '25 08:05 ahmad-elkomy