comint-strip-ctrl-m

comint-strip-ctrl-m is an interactive compiled Lisp function in `comint.el'.


(comint-strip-ctrl-m &optional STRING)

Strip trailing `^M' characters from the current output group.
This function could be on `comint-output-filter-functions' or bound to a key.