elementary / elementary/terminal

Cursor is replaced with a tilde character when it's typed

Open
#1,015 6 comments 0 reactions 0 assignees View on GitHub
Status: Out of Scope
Dominant language
Vala
Stars
428
Forks
104
Avg merge
1d 54m
Merged PRs (30d)
2

Description

### What Happened?

Since some package upgrade not long ago, whenever I type the tilde character (~), it gets stuck on my command prompt.

https://github.com/user-attachments/assets/a55e4bce-9069-4e39-a709-8da1c8b87361

Screenshot of Terminal with a glitched tilde on the command prompt

### Steps to Reproduce

1. Open Terminal
2. Type a tilde into the command prompt

If I switch focus to another app, the glitch is gone... until I type a tilde again.

### Expected Behavior

Clearly it's a glitch. Thankfully, it's a harmless one, but it's annoying.

### OS Version

8.x (Circe)

### OS Architecture

amd64 (on most hardwares)

### Session Type

Secure Session (Wayland, This is the default)

### Software Version

Latest release (I have run all updates)

### Log Output

```shell
I couldn't collect logs with the G_MESSAGES_DEBUG variable, because the command exits when the new terminal window is opened from the CLI.
```

### Hardware Info

I'm using the Brazilian Portuguese keyboard layout.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the tilde input in Terminal under the reported Wayland secure session with the Brazilian Portuguese keyboard layout, then compare behavior after switching focus to another app. Investigate the cursor rendering or input path implicated by the glitch; done means typing a tilde no longer leaves a tilde-shaped cursor on the command prompt.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.