It often happens to me that I want to clear the current output window by using the context menu, but instead of hitting the Clear entry, I accidently hit the
Clear
Here is solution