Comments (5)
@ToothpickFactory Thanks for bearing with me on this one. I forgot to fully strip Windows carriage returns. You should see the correct behavior in the latest release: https://github.com/keegandonley/input-deno/releases/tag/1.0.1
from input-deno.
Thanks for the speedy fix!
from input-deno.
@ToothpickFactory Thanks is for reporting this! I haven’t tested this yet using Powershell but I’ll try to get my hands on a Windows machine and look into this tonight. My guess is the console input doesn’t come back the same way it does on MacOS.
from input-deno.
No problem. Looking to see if I can figure it out. Narrowed it down to the TextDecoder() in the read method. It does return back "correctly" what was sent to it. Heck it even says that it's a string. When I try and compare a "2" to a 2 entered in via the console it reports that they do not equal. It's really bizarre.
from input-deno.
@ToothpickFactory I can reproduce this on a box running windows server on AWS. Investigating now
from input-deno.
Related Issues (15)
- Advanced Input History HOT 3
- Allow question ordering to optionally start at 1, not 0
- Question method without printing newline HOT 4
- Hidden (Password-Like) Input HOT 7
- Support more intuitive manual loop ending
- Failing tests
- Easier Configuration Management HOT 1
- Error with Deno 1.6.0 HOT 1
- [Feature Request] Single-Line and/or Multi-Line input editing. HOT 1
- [Feature Request] Input Highlighting HOT 2
- [Feature Request] Press any key to continue HOT 2
- Input does not compile with latest version of std/async HOT 3
- Remove Reliance on Deferred
- Hidden Input is Broken
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from input-deno.