vercel/hyper

Support Reporting Terminal Window in Pixels

Open

#962 创建于 2016年11月5日

在 GitHub 查看
 (5 评论) (0 反应) (0 负责人)TypeScript (44,582 star) (3,558 fork)batch import
help wanted🛠 Type: Feature Request🤯 Type: Compatibility

描述

  • 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

贡献者指南

Support Reporting Terminal Window in Pixels · vercel/hyper#962 | Good First Issue