Fix C-left and C-right in terminal