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?

2 Answers 2

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

1
  • I mean that, the CursorSize will be reset after run python. I know how to configure it
    – Marslo
    Jun 13, 2013 at 0:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .