in reply to print command buffer

Or you can use warn(), which goes to STDERR, and is unbuffered.