Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a few python scripts which contain no pause commands and no prompts for user input however I find that when I change my window focus to the Windows cmd window the output will freeze until I press 'Enter'.

Is there a know cause for this? Should I enable/disable a setting in the cmd options to avoid this?

A search of my case keeps bringing up cases of people wanting pauses in their code - which I do not.

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

How are you selecting/focussing that window? If you simply Alt+Tab to it or click its titlebar, the scrolling output shouldn't pause. My guess is you have QuickEdit Mode turned on (right-click the command prompt windows's titlebar and select Properties) and you are clicking inside the window with your mouse, thus selecting text by mistake and causing the program to pause.

1

share|improve this answer
    
Thanks Karan. Yes I was using QuickEdit to select some text from the output of my scripts. Disabling this gets around the pausing. Shame the cmd window can't let you select text without pausing the output. –  Markus Feb 22 '13 at 0:34
    
Don't you think it would be difficult to select text that's quickly scrolling off the screen? –  Karan Feb 22 '13 at 0:41
    
I guess it depends on how "quickly" it is scrolling off the screen. –  Markus Feb 24 '13 at 23:50
    
The reasoning to make it freeze is likely dictated by some old software limitation(s), not because it's convenient for the user. Modern apps would have its process continue down below the selection and show a scrollbar. –  LessQuesar Apr 29 at 21:38
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.