Fixed the problem that editing window loses showcmd value when winManager window gains focus.
Thanks very much to kend at myvnet dot com for providing this patch!