Skip to content

Printing over 2nd cell in wide character should delete wide character #1268

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mitchellh opened this issue Oct 13, 2023 · 1 comment · Fixed by #1275
Closed

Printing over 2nd cell in wide character should delete wide character #1268

mitchellh opened this issue Oct 13, 2023 · 1 comment · Fixed by #1275
Labels
bug Something isn't working VT: Backend Virtual Terminal Backend (libterminal API)
Milestone

Comments

@mitchellh
Copy link

Contour Terminal version

brew installed, unsure

Installer source

something else (please specify below)

Operating System

macOS 14

Architecture

AArch64

Other Software

No response

Steps to reproduce

#!/usr/bin/env bash
printf "橋"
printf "\033[D"
printf "X"
read

Expected Behavior

Terminal state should be X (note space prefix) according to behavior matching xterm, iTerm, urxvt, libvte-based terminals.

Actual Behavior

Terminal state became 橋X with the wide character taking 1 cell instead of 2.

Additional notes

No response

@mitchellh mitchellh added the bug Something isn't working label Oct 13, 2023
@christianparpart
Copy link
Member

thanks, will do!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working VT: Backend Virtual Terminal Backend (libterminal API)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants