Skip to content

Commit

Permalink
Terminal in non-TTY mode caused fatal error on connect #23
Browse files Browse the repository at this point in the history
  • Loading branch information
AndiDittrich committed Dec 17, 2016
1 parent 3a624f9 commit 4e5de35
Show file tree
Hide file tree
Showing 23 changed files with 8 additions and 2 deletions.
Empty file modified .gitignore
100644 → 100755
Empty file.
3 changes: 3 additions & 0 deletions CHANGES.md
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### 2.0.3 ###
Bugfix: Terminal in **non-TTY** mode caused fatal error on connect - thanks to [stephanMettler on GitHub](https://github.com/AndiDittrich/NodeMCU-Tool/issues/23) #23

### 2.0.2 ###
Bugfix: Upload command failed because of API changes in NodeMCU Firmware **v1.5.4** - thanks to [curioussavage on GitHub](https://github.com/AndiDittrich/NodeMCU-Tool/issues/22) ##2
Bugfix: Fix crash when trying to upload a folder - thanks to [sakisds on GitHub](https://github.com/AndiDittrich/NodeMCU-Tool/pull/20) #20
Expand Down
Empty file modified CONTRIBUTE.md
100644 → 100755
Empty file.
Empty file modified LICENSE.md
100644 → 100755
Empty file.
Empty file modified README.md
100644 → 100755
Empty file.
Empty file modified bin/nodemcu-tool.js
100644 → 100755
Empty file.
Empty file modified docs/Examples.md
100644 → 100755
Empty file.
Empty file modified docs/ProgrammaticUsage.md
100644 → 100755
Empty file.
Empty file modified docs/Reset_on_Connect.md
100644 → 100755
Empty file.
Empty file modified docs/nodemcu-reset-circuit.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified examples/apache-ant-build.xml
100644 → 100755
Empty file.
Empty file modified examples/parse-devicelist.py
100644 → 100755
Empty file.
Empty file modified examples/parse-filelist.php
100644 → 100755
Empty file.
Empty file modified helloworld.lua
100644 → 100755
Empty file.
Empty file modified lib/LuaCommandBuilder.js
100644 → 100755
Empty file.
Empty file modified lib/LuaOptimizer.js
100644 → 100755
Empty file.
Empty file modified lib/NodeMCU-Tool.js
100644 → 100755
Empty file.
Empty file modified lib/NodeMcuConnector.js
100644 → 100755
Empty file.
Empty file modified lib/ScriptableSerialTerminal.js
100644 → 100755
Empty file.
5 changes: 4 additions & 1 deletion lib/SerialTerminal.js
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ SerialTerminal.prototype.passthrough = function(devicename, baudrate, cb){
}else{

// prepare
process.stdin.setRawMode(true);
if (process.stdin.isTTY){
process.stdin.setRawMode(true);
}

process.stdin.setEncoding('utf8');

// pass-through
Expand Down
Empty file modified nodemcu-tool
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion package.json
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nodemcu-tool",
"version": "2.0.2",
"version": "2.0.3",
"description": "Command line tool to upload and manage files on your NodeMCU / ESP8266 Module.",
"keywords": [
"cli",
Expand Down
Empty file modified video.gif
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4e5de35

Please sign in to comment.