From: Marc <ma...@da...> - 2008-09-25 19:27:47
|
Hi folks, back in April I've sent an e-mail that talked about a patch but dumb as I am I forgot to add the patch. Here it is. This patch adds a new cursor type that improves the visibility of the cursor. Currently you have to specify the cursor color. This just doesn't work when you have changing dark and bright backgrounds. The solution is to do it like other terminal applications, e.g. KDE's Konsole. The cursor background is the characters foreground color and vice versa. Together with blinking this ensures that the cursor is always visible. The attached patch does not contain the necessary GUI changes for the preferences panel. I just couldn't find a good way (one that I thought would be good enough for other users) to do that UI-wise and my XCode experience is still very low. So whoever wants to incorporate the patch needs to add the corresponding GUI stuff or use "defaults" to set it: defaults write net.sourceforge.iTerm CursorType 3 Bye, Marc |