]> asedeno.scripts.mit.edu Git - PuTTY.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)
commit414aba9f5aef77049ef1ab375857f0abc7ede508
tree8c801d79dcab6baf2a8e1fa79dba9f0ad0b3ffd1
parente202f0f22821baadaeb0b5870446f8f04088084c
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.

[originally from svn r5017]
terminal.c