fix cmd-z if no strange char when copy/paste

Signed-off-by: Thibaud Arnault <thyb@oauth.io>