Updates input to cmd line