vercel / vercel/hyper

Cursor blink doesn't work when using WebGL renderer

Open
#3,626 8 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

WebGL Renderer
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: macOS Mojave 10.14

  • Hyper.app version: 3.0.0

  • The issue is reproducible in vanilla Hyper.app: Yes

Issue

Not a duplicate, but might be related to #3533, #3041.

Cursor doesn't blink when using WebGL renderer, but does when using canvas renderer.

Hyper config:

module.exports = {
  config: {
    cursorBlink: true
  }
};

I tested canvas rendering by adding the line backgroundColor: 'rgba(0, 0, 0, 0.9)':

WebGL Renderer has been disabled since it does not support transparent backgrounds yet. Falling back to canvas-based rendering.

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 locating the WebGL renderer and the cursor-blink implementation, then compare their behavior with the canvas renderer described in the report. Reproduce the issue in Hyper 3.0.0 on macOS with cursorBlink enabled and verify that the cursor blinks under WebGL without changing the canvas behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, typescript
Domain
desktop, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.