Text this: A characterization of pseudocompactness