From c8558eb78734ceecb166f839cd85cb9aefab0e63 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Wed, 15 Aug 2012 18:26:24 +0900 Subject: [PATCH] update input --- bashrc | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/bashrc b/bashrc index 2ec19d8..9ae647f 100755 --- a/bashrc +++ b/bashrc @@ -184,12 +184,11 @@ then fi input(){ - ( - stty -echo - read foo - stty echo - echo $foo - ) + local foo + stty -echo + read foo + stty echo + echo $foo } tmux(){