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

Render artifacts with Unicode 3.2 test page #9977

Closed
helmesjo opened this issue Mar 23, 2024 · 2 comments
Closed

Render artifacts with Unicode 3.2 test page #9977

helmesjo opened this issue Mar 23, 2024 · 2 comments
Labels
C-bug Category: This is a bug

Comments

@helmesjo
Copy link

helmesjo commented Mar 23, 2024

Summary

Pasting the Unicode 3.2 test page into a new scratch buffer causes some odd rendering artifacts probably related to word-wrapping:

helix-render-bug

# config.toml
theme = "dark_plus"

[editor]
line-number = "absolute"
color-modes = true
cursorline = true
bufferline = 'multiple'

[editor.cursor-shape]
insert = "bar"
normal = "block"
select = "underline"

[editor.soft-wrap]
enable = true

[editor.statusline]
left = [
  "mode",
  "version-control",
  "spinner"
]
center = ["file-name"]
right = [
  "diagnostics",
  "selections",
  "position",
  "file-encoding",
  "file-line-ending",
  "file-type"
]
separator = ""

[editor.whitespace.render]
space = "all"
tab = "all"
newline = "none"

[editor.file-picker]
hidden = false

[keys.normal]
X = "extend_line_up"
theme = "dark_plus"

[editor]
line-number = "absolute"
color-modes = true
cursorline = true
bufferline = 'multiple'

[editor.cursor-shape]
insert = "bar"
normal = "block"
select = "underline"

[editor.soft-wrap]
enable = true

[editor.statusline]
left = [
  "mode",
  "version-control",
  "spinner"
]
center = ["file-name"]
right = [
  "diagnostics",
  "selections",
  "position",
  "file-encoding",
  "file-line-ending",
  "file-type"
]
separator = ""

[editor.whitespace.render]
space = "all"
tab = "all"
newline = "none"

[editor.file-picker]
hidden = false

[keys.normal]
X = "extend_line_up"

Reproduction Steps

I tried this:

  1. Open a new scratch buffer and paste the content from here.
  2. Notice that there are artifacts on the left-hand side when stepping through lines.

Helix log

Nothing logged.

Platform

Windows

Terminal Emulator

cmd

Installation Method

winget install Helix.Helix

Helix Version

helix 23.10 (f6021dd)

@helmesjo helmesjo added the C-bug Category: This is a bug label Mar 23, 2024
@kirawi
Copy link
Member

kirawi commented Mar 23, 2024

Probably a duplicate of #6012 This issue can't be solved on our end (only worked around) since it's an issue with how terminal emulators approach width IIRC.

@helmesjo
Copy link
Author

Yeah that seems to be the case, thanks. I'll close this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug
Projects
None yet
Development

No branches or pull requests

2 participants