DenoDDeno
Powered by
cowboydC
Denoβ€’17mo agoβ€’
7 replies
cowboyd

Is there a way to read the current raw options for stdin?

I want to create an operation that uses raw input from stdin, but then resets it afterwards to whatever it was when the operation started. In other words, if it was already raw, then it should remain raw. If it was not, then it should be reset to be not raw. The same applies for the value of the raw options: e.g.
{cbreak: true }
{cbreak: true }


In order to do this, I need to read the current raw options. Is there a way to do this?
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Deno.stdin raw map?
DNADDNA / help
2y ago
Sync Child Stdin Read
jeff.hykinJjeff.hykin / help
3y ago
Simpler way to read a file relative to current module?
abiAabi / help
3y ago
How to read all text from stdin.
pomdtrPpomdtr / help
3y ago