summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriel Rodrigues Couto <gabriel@rodriguescouto.com.br>2016-02-26 22:34:54 -0300
committerGabriel Rodrigues Couto <gabriel@rodriguescouto.com.br>2016-02-26 22:34:54 -0300
commitc2c6a6ca84830053f19cb827046dcfe18969c055 (patch)
tree184f1d7c9d7717463ea5702df0b606cf8f5f3e25
parent790f1298c5833f5847687ceb9fbaf83c6402cfb8 (diff)
parent25b72dfcc9f6907c9d9b4b12976c33ba4fe3e497 (diff)
downloadphp-terminal-gameboy-emulator-c2c6a6ca84830053f19cb827046dcfe18969c055.zip
php-terminal-gameboy-emulator-c2c6a6ca84830053f19cb827046dcfe18969c055.tar.gz
php-terminal-gameboy-emulator-c2c6a6ca84830053f19cb827046dcfe18969c055.tar.bz2
Merge pull request #39 from diegocpires/master
Removing echo from input
-rw-r--r--src/Keyboard.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Keyboard.php b/src/Keyboard.php
index f67c1a6..2fac255 100644
--- a/src/Keyboard.php
+++ b/src/Keyboard.php
@@ -12,7 +12,7 @@ class Keyboard
public function __construct(Core $core)
{
$this->core = $core;
- exec('stty -icanon');
+ exec('stty -icanon -echo');
$this->file = fopen('php://stdin', 'r');
stream_set_blocking($this->file, false);
}