vercel / vercel/hyper

Discrete window resizing (snapping to full character sizes)

Open
#3,244 0 comments 2 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 Mojave v10.14.0
  • Hyper.app version: 2.0.0 stable
  • Link of a Gist with the contents of your .hyper.js: https://gist.github.com/SilverWolf32/328eaabaf367512273dd099d209518e4
  • 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, except for HyperPower (which is installed but disabled).

Issue

With most terminals (except for Konsole, for some reason), when you resize the window it automatically snaps it to full character widths/heights. This makes resizing much easier, since you don't have to worry about getting it pixel-perfect.

Now, for full screen you obviously can't do that (the current margin behavior is perfect), but for normal resizing, would you consider implementing this behavior?

A 4.2MB demonstration, because GIF is so huge

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

The issue does not name files, tests, or an entry point. Trace Hyper's normal window-resize handling first, then determine how terminal character dimensions are exposed and how fullscreen margins are distinguished; done means normal resizing snaps to full character widths and heights without changing fullscreen behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.