This is admittedly a superficial question.
Although ansi-term starts out behaving correctly when I first open it, it seems to degrade into an 'editable' mode after a few commands, e.g., when I do C-a (start of line) followed by C-k (kill line), it wipes out the whole prompt.
For my aesthetic sanity, is there any way to make the prompts and previous output uneditable (for shell)? (Updated to exclude ansi-term given the meaningful differences.)
I'm using zsh in Emacs 24.4; OS is LXDE (Ubuntu 14.04) via Virtual Box.
(Ideally I'd still be able to move my cursor around...)