If you're scratching your head over the misspelling "twaht", several possible corrections come to mind. "What" seems the most likely intended word, while "that" or "twas" could also fit. Paying attention to context might help in determining the appropriate correction.