Skip to content
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

delete graphene counting wrong πŸ‘©β€πŸš’ #6295

Open
shaozi opened this issue Oct 19, 2024 · 0 comments
Open

delete graphene counting wrong πŸ‘©β€πŸš’ #6295

shaozi opened this issue Oct 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@shaozi
Copy link

shaozi commented Oct 19, 2024

What Operating System(s) are you seeing this problem on?

macOS

Which Wayland compositor or X11 Window manager(s) are you using?

No response

WezTerm version

20241015-083151-9ddca7bd

Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?

Yes, and I updated the version box above to show the version of the nightly that I tried

Describe the bug

paste a graphene πŸ‘©β€πŸš’ into the terminal. Then use Delete button to delete it. It is deleted, but wezterm still think there are characters before it. it will continue delete 2 more letters to the left.

To Reproduce

  1. launch wezterm
  2. bash
  3. copy and paste this graphene πŸ‘©β€πŸš’ to the terminal
  4. press Delete key multiple times

Configuration

local wezterm = require("wezterm")

local config = wezterm.config_builder()

-- config.color_scheme = "Tango Adapted"
config.font_size = 16
config.hide_tab_bar_if_only_one_tab = true
config.window_padding = {
left = "4pt",
right = "2pt",
top = "4pt",
bottom = 0,
}
config.enable_scroll_bar = false
config.keys = {
-- This will create a new split and run your default program inside it
{
key = "d",
mods = "SUPER",
action = wezterm.action.SplitHorizontal({ domain = "CurrentPaneDomain" }),
},
{
key = "D",
mods = "SUPER",
action = wezterm.action.SplitVertical({ domain = "CurrentPaneDomain" }),
},
}
return config

Expected Behavior

it should delete the graphene and stop.

Logs

No response

Anything else?

No response

@shaozi shaozi added the bug Something isn't working label Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant