Deno: [Feature Request] Public API for TTYs

Created on 30 Jul 2020  路  6Comments  路  Source: denoland/deno

I'm suggesting some sort of interface to incorporate the functionality of Node's tty module, which would solve #6738, as well as setting all sort of terminal configurations, such as enabling/disabling input echo, and getting the terminal size.

Most helpful comment

Also related https://github.com/denoland/deno/issues/6738 which you seem to be aware of since you commented there as-well.

All 6 comments

Duplicate of #6706 and #3456 which was closed by #6520.

What about the cursor positioning, terminal echo, and potentially other configs?
While I am aware some of these features have been solved, and are being addressed separately, would it not be better to put these in a unified interface?

What about the cursor positioning, terminal echo, and potentially other configs?

In the runtime as syscalls, or in std as escape sequences?

I don't see how this issue is unique/different from #6706 you opened, which is far more specific about what capabilities you would like to see... For the sake of everyone's sanity, could we try to keep the discussion in one issue, up until there is something actionable that warrants creating multiple issues?

Also related https://github.com/denoland/deno/issues/6738 which you seem to be aware of since you commented there as-well.

Understandable

Was this page helpful?
0 / 5 - 0 ratings

Related issues

motss picture motss  路  3Comments

watilde picture watilde  路  3Comments

metakeule picture metakeule  路  3Comments

ry picture ry  路  3Comments

benjamingr picture benjamingr  路  3Comments