vercel / vercel/hyper

"Hide Cursor" ANSI escape not working

Open
#4,558 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
44.7k
Forks
3.6k
Avg merge
21m
Merged PRs (30d)
1

Description

  • I am on the latest Hyper.app version

  • I have searched the issues of this repo and believe that this is not a duplicate

  • OS version and name: Windows 10 Pro (10.0.19041 Build 19041), using WSL

  • Hyper.app version: 3.0.2

  • The issue is reproducible in vanilla Hyper.app: This shows up in vanilla, I tried this with the default config

Issue

I'm using ANSI escape codes to hide the cursor but the cursor is not being successfully hidden. It nestles down in the bottom right corner and jumps around when printing. You can see this if you run, for example, htop or sl. I tried toggling the renderer and trying different cursor settings as well.

It looks like hiding the cursor is formally supported by xterm (ctrl+f "hide cursor"), and I confirmed expected cursor hiding using using the Ubuntu WSL terminal and the terminal inside VS code.

I'd love to help but have no idea where to start D:

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the cursor behavior in vanilla Hyper on Windows 10 with WSL, using htop or sl and the ANSI hide-cursor sequence described in the issue. Compare the result with xterm, Ubuntu WSL, and the VS Code terminal; done means the cursor stays hidden without jumping or appearing in the bottom-right corner.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.