![how to change cursor color in idle how to change cursor color in idle](https://www.addictivetips.com/app/uploads/2019/06/mouse-cursor-color.jpg)
I'll be submitting a patch to fix this issue in a short while. Previously, I changed the cursor color to.
import tkinter as tk root tk.Tk() text tk.Text(root, blockcursorTrue) text. in IDLE go to: Options -> Configure IDLE -> HighlightingI just found out that this has nothing to do with Tk's Text widget, which is fine. (The insertion cursor is different from the mouse cursor.) It can be seen by running this code (root.mainloop() might be needed if not running from IDLE). speed, idle time, fuel, vehicle diagnostics and maintenance alerts. cursor (only foreground can be set, restart IDLE) cursor-foreground. Find Transit Connect Wagon in this color. Maybe then after I change that option (and perhaps some others) IDLE should say "Please restart IDLE for some changes to take effect" ? Save the builtin theme (both are the same) as a custom theme, with a new nam. > AFAIK you can - you simply have to restart IDLE after changing the color This is a known issue with Tk's Text widget, which IDLE uses. You could force it to be black/white.Īlso you should hide this option in selector - it's misleading, because I thought i does something.ĪFAIK you can - you simply have to restart IDLE after changing the color and saving the changes. As I understand, the caret color is either black or background color. The page on the link says you can invert it.
![how to change cursor color in idle how to change cursor color in idle](https://winaero.com/blog/wp-content/uploads/2018/12/Windows-10-Change-Cursor-Color-4.png)
So something might be improved here, but I doubt you can reliably set the caret color on Windows see IDLE on Windows appears to be using an always-black caret (cursor) - not the standard caret behavior, which does its "blinking" by inverting the background color. When I change the cursor color to another color, it still stays black, so I can't really make black background. Created on 19:14 by zorkin, last changed 06:50 by georg.brandl.