Rstudio Server Terminal Dad after Switch Tabs on Chrome

A little bit wired bug in the terminal, when I switch from RStudio terminal tab to another normal chrome browser tab (e.g. searching StackOverflow) and then back RStudio one, the terminal will idle and fail to input any words, however, refresh (F5) this tab the problem will temporary fixed.

Endless refresh is so tough for me, I am seeking a better solution.

these are my system version information:

Chrome Version 63.0.3239.132 (Official Build) (64-bit)

> sessionInfo()
R version 3.4.3 (2017-11-30)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: CentOS Linux 7 (Core)

Matrix products: default
BLAS: /usr/R-3.4.3/lib64/R/lib/
LAPACK: /usr/R-3.4.3/lib64/R/lib/