vercel / vercel/hyper

Rendering issues while writing a commit message body with Neovim

Open
#6,548 1 comment 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: macOS Monterey 12.3.1

  • Hyper.app version: 3.2.3

  • Link of a Gist with the contents of your .hyper.js: https://gist.github.com/silvenon/d04549245f40e340720113aaa798d41a

  • Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere): N/A

  • The issue is reproducible in vanilla Hyper.app: Is Vanilla

Issue

I'm getting a very odd rendering bug when writing a git commit message body using Neovim. On the first line (sometimes others, too) spaces are being replaced with the characters from the first line in the comment below the message. The anomalies temporarily go away if I delete a line, but come back as soon as I continue typing. The commit message saves fine, without those characters, but as you can tell typing commit messages is really hard for me. I think this is Electron-related because the same thing happens in VS Code's integrated terminal. macOS's built-in terminal and iTerm work fine.

I wasn't sure whether to report this here or Electron, or Neovim repo 🤷

https://user-images.githubusercontent.com/471278/169127102-c71e6e28-3d4d-435a-8302-12ef0e625333.mp4

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 rendering problem in vanilla Hyper on macOS while editing a Git commit message with Neovim, then compare it with the built-in terminal and iTerm. Check whether the same behavior occurs in Electron-based terminals such as VS Code; done means spaces render correctly while typing and the saved commit message remains unaffected.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, git, macos, 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.