Removing visible newlines/spaces/etc in terminal mode