cancel the impact of direction key
give boudary to the input(Bugs Exist)
Sometimes shell print the symbol generated by direction.
I guess this is the problem caused by receive buffer
Add nonblock funciton, but can't fix the direction bug