Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I set he default CursorSize in $PROFILE file like:

[Console]::CursorSize = 10


$HOST.UI.RawUI.CursorSize = 10

But the cursorSize will reset after using another console in powershell, for example: enter image description here

Also, I set CursorSize from the Registy Editor: enter image description here and enter image description here

Is there any way to change the default CursorSize permanently?

share|improve this question

1, try put your customization codes into file $profile.CurrentUserAllHosts instead and see if it applies to the python shell.

2, if it doesn't work, put your codes within the function prompt so that the codes will be forced to be invoked every time the prompt is printed.

share|improve this answer

Well i hope this urls help you

Modifying Your Windows PowerShell Profile

Customizing the Console

share|improve this answer
I mean that, the CursorSize will be reset after run python. I know how to configure it – Marslo Jun 13 '13 at 0:07

Your Answer


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.