]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commit
In my revamp of cursor handling I had assumed that you were supposed
authorSimon Tatham <anakin@pobox.com>
Wed, 22 Dec 2004 10:21:50 +0000 (10:21 +0000)
committerSimon Tatham <anakin@pobox.com>
Wed, 22 Dec 2004 10:21:50 +0000 (10:21 +0000)
commit5401382634ce8a7a41d75384a7795d1f591089df
tree8c801d79dcab6baf2a8e1fa79dba9f0ad0b3ffd1
parent860cbf2b3d87da18adc0e3a2fc1be639c97cb8c9
In my revamp of cursor handling I had assumed that you were supposed
to call _either_ do_text() _or_ do_cursor() on a given character
cell. In fact you're supposed to call do_text() no matter what, and
then call do_cursor() as well if it's got the cursor on it, since
do_cursor() _only_ draws the actual cursor, which often doesn't also
cause the text to get drawn.

I'm half tempted to change this in the interface, retire do_cursor()
as an external function and relegate it to an internal function in
each front end, and require that do_text() must fully process all
cursor attributes it is passed. However, I haven't done this yet.

git-svn-id: http://svn.tartarus.org/sgt/putty@5017 cda61777-01e9-0310-a592-d414129be87e
terminal.c