pub const TMS_IDLE: TERMINAL_MEDIA_STATE = 0i32;