vercel/hyper

Support Reporting Terminal Window in Pixels

Open

#962 opened on Nov 5, 2016

View on GitHub
 (5 comments) (0 reactions) (0 assignees)TypeScript (44,582 stars) (3,558 forks)batch import
help wanted🛠 Type: Feature Request🤯 Type: Compatibility

Description

  • OS version and name: Mac OSX 10.12 (16A323)
  • Hyper.app version: 0.8.3.873

Issue

threejs-tern requires the actual pixel size of the terminal so it would be able to render a 3d scene with a more accurate aspect ratio.

At the point of testing, Hyper does not seems to support pixel dimension reporting (although terminal size reporting and mouse works which is pretty cool!)

Some code related to this issue is here.

This issue isn't present using iTerm2 or Mac's Terminal.app.

I'm not too familiar with the internals of Hyper, but my guess is that a fix for this issue would be to implement the CSI sequence P 1 4.

image

Contributor guide