From: MINAMI H. <mi...@mi...> - 2005-01-04 02:49:43
|
On Sun, 2005-01-02 at 01:16 -0500, Ian Ward wrote: > xterm always flips the foreground and background colors of the character > the cursor is on (white on blue becomes blue on white etc.) rxvt uses > black on white if the background of the character the cursor is on is > black, otherwise it uses white on black. I've prepared a patch for the xterm-like scheme (attached). i.e. make cursor's fg/bg color be taken from the character under cursor. When cursor's fg/bg color was specified in your config file or by a command line option, Those color would be used as they had been. Though cursor would be remain invisible in a sick situation (like the "black on black" case), it seems acceptable for me. > BTW, I'm hoping to add support for all mlterm's supported encodings to > Urwid (http://excess.org/urwid/). Can you recommend any good texts that > I may use as a reference? At the moment I am using: > http://www.debian.org/doc/manuals/intro-i18n/ch-codes.en.html Sorry, I couldn't find the better one. Just curious: what function are you going to add? I'm assuming that the knowledge of encoding should not be neccesary to simply display some strings. -- minami |