You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#!/bin/shecho"primary screen:"echo"|--|"echo"|🏳️🌈|"echo"|📎|"echo"|📡|"
sleep 5
echo -e "\x1b[?1049h\x1b[?2027h"# enter alt screen and turn on 2027echo"alternate screen:"echo"|--|"echo"|🏳️🌈|"echo"|📎|"echo"|📡|"
sleep 5
echo -e "\x1b[?1049l"
Expected Behavior
In the alt screen, the cursor only moves one cell for some emoji
Actual Behavior
The cursor should move the same (correct) amount in the primary screen and alt screen
Additional notes
No response
The text was updated successfully, but these errors were encountered:
Yaraslaut
added
VT: rasterizer
Rendering of the terminal into a pixmap using `terminal_renderer` library
fonts
font rasterization and text shaping API and platform implementations
labels
Feb 10, 2024
christianparpart
added
VT: Backend
Virtual Terminal Backend (libterminal API)
and removed
VT: rasterizer
Rendering of the terminal into a pixmap using `terminal_renderer` library
fonts
font rasterization and text shaping API and platform implementations
labels
Feb 10, 2024
Cursor movement mistakes are most likely a bug in unicode grapheme cluster's width handling.
I wonder why it's only happening on alt screen and not on primary. Will figure it out. Many thanks for your report, @rockorager :)
Okay, this is a dup of #1375 - technically speaking. I am having a PR open over at libunicode that attempts to fix this (with better API and implementation). this should be fixed by the next major Contour release :)
Contour Terminal version
contour-git from AUR
Installer source
something else (please specify below)
Operating System
Arch linux
Architecture
x86-64
Other Software
No response
Steps to reproduce
Expected Behavior
In the alt screen, the cursor only moves one cell for some emoji
Actual Behavior
The cursor should move the same (correct) amount in the primary screen and alt screen
Additional notes
No response
The text was updated successfully, but these errors were encountered: