save g_input_state.motion_mode in ScrollCursorLine