Function: comint-adjust-point

Move point in the selected window based on Comint settings.
SELECTED is the window that was originally selected.

(fn SELECTED)