Fix sending C-left and C-right in ansi-term.