fix term mode

Signed-off-by: coldnew <coldnew.tw@gmail.com>
term mode

Signed-off-by: coldnew <coldnew.tw@gmail.com>