add "case '\n'" for ENTER key input.

Because in some keyboard ENTER key value is '\n', so we must add this
value for ENTER key triggled.

Signed-off-by: Shaojie Sun <shaojie.sun@linaro.com>
1 file changed