Thioridazine lengthens repolarization of cardiac ventricular myocytes by blocking the delayed rectifier potassium current.