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 set he default CursorSize in $PROFILE file like:

[Console]::CursorSize = 10

or

$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
add comment

2 Answers

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
add comment

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.Jiao Jun 13 '13 at 0:07
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.