9

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?

1

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.

0

Well i hope this urls help you

Modifying Your Windows PowerShell Profile

Customizing the Console

  • 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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