static bool CanShowCursor(TextRenderer& txt_rndr) { return txt_rndr.IsShowCursor() && txt_rndr.HasFocus(); }