Fix an issue where messages could remain gray if you switch to another buffer after sending