vercel/hyper

Support Reporting Terminal Window in Pixels

开放

#962 创建于 2016年11月5日

 (5 条评论) (0 个反应) (0 位负责人)TypeScript (3,558 个派生)batch import
help wanted🛠 Type: Feature Request🤯 Type: Compatibility

仓库指标

星标
 (44,582 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

  • 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

贡献者指南