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

Autocomplete looks like asymmetrical and covers the text behind it in Ghostty #395

Closed
3 tasks done
chianyungcode opened this issue Jan 9, 2025 · 4 comments
Closed
3 tasks done
Labels
upstream An issue with an upstream application/dependency

Comments

@chianyungcode
Copy link

chianyungcode commented Jan 9, 2025

Checks

Operating system

macOS 15.1.1 (24B91)

Expected behaviour

Autocomplete must not cover the text behind it.

Actual behaviour

Autocomplete covers the the text behind it.
image

Steps to reproduce

  1. Try to cd, and autocomplete will be shown.
  2. Use the same ghostty config as I was.
# Appearance
macos-titlebar-style = hidden
font-size = 14.5
font-family = Jetbrains Mono
background-opacity = 0.8
background-blur-radius = 10
window-title-font-family = Cascadia Code
theme = custom
mouse-hide-while-typing = true
macos-option-as-alt = true
cursor-style-blink = false

# Padding
window-padding-x = 11
window-padding-y = 11

# Keybinds
keybind = alt+shift+t=toggle_quick_terminal
keybind = ctrl+shift+h=new_split:left

# Miscellaneous
copy-on-select = true
confirm-close-surface = false
macos-icon = custom-style
macos-icon-ghost-color = white
macos-icon-screen-color = black
# window-save-state = always

^ Ghostty Config

Environment

[q-details]
version = "1.6.0"
hash = "6d13844d6546a5c29e7e121450af1130eb189e7f"
date = "2025-01-09T00:47:39.704258Z (19h ago)"
variant = "full"

[system-info]
os = "macOS 15.1.1 (24B91)"
chip = "Apple M1 Max"
total-cores = 10
memory = "32.00 GB"

[environment]
cwd = "/Users/USER"
cli-path = "/Users/USER"
os = "Mac"
shell-path = "/bin/zsh"
shell-version = "5.9"
terminal = "Ghostty"
install-method = "unknown"

[env-vars]
PATH = "/Users/USER/.atuin/bin:/Users/USER/.cargo/bin:/Users/USER/.tmuxifier/bin:/Users/USER/go/bin:/Users/USER/.proto/shims:/Users/USER/.proto/bin:/Users/USER/.console-ninja/.bin:/Users/USER/.bun/bin:/Users/USER/.asdf/shims:/Users/USER/.asdf/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Applications/Little Snitch.app/Contents/Components:/Applications/Ghostty.app/Contents/MacOS:/Users/USER/.local/bin:/Users/USER/.orbstack/bin:/Users/USER/Library/Application Support/JetBrains/Toolbox/scripts:"
QTERM_SESSION_ID = "d1f348ec2b46400db382118ca8d55394"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.6.0"
SHELL = "/bin/zsh"
TERM = "xterm-ghostty"
__CFBundleIdentifier = "com.mitchellh.ghostty"
@grant0417
Copy link
Member

I am able to reproduce with your config. This seems to actually be a Ghostty issue with them incorrectly reporting the IME when using window-padding-x/window-padding-y. I will raise an issue with them for this.

@grant0417
Copy link
Member

I have created the discussion here: ghostty-org/ghostty#4883

@grant0417 grant0417 added the upstream An issue with an upstream application/dependency label Jan 9, 2025
@grant0417 grant0417 changed the title Autocomplete looks like asymmetrical and covers the text behind it Autocomplete looks like asymmetrical and covers the text behind it in Ghostty Jan 9, 2025
@mahenrique94
Copy link

I'm having the same issue when customizing the X and/or Y padding as the following:

window-padding-x = 10
window-padding-y = 20
SCR-20250110-tmmg

@grant0417
Copy link
Member

Looks like this was fixed upstream and will be resolved in the 1.1.0 Ghostty release. I'm going to close this issue since it was fixed there an we have no more items to resolve here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream An issue with an upstream application/dependency
Projects
None yet
Development

No branches or pull requests

3 participants