Merge: Issue #14997: disable <F5> in idle shell window.

Thanks to Roger Serwy for patch.