After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 398150 - cursor leaves trail behind in vim
cursor leaves trail behind in vim
Status: RESOLVED FIXED
Product: vte
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: VTE Maintainers
VTE Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-01-18 21:27 UTC by Behdad Esfahbod
Modified: 2007-01-19 13:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Clears the original cursor position afterwards (3.76 KB, patch)
2007-01-19 02:17 UTC, Chris Wilson
committed Details | Review

Description Behdad Esfahbod 2007-01-18 21:27:20 UTC
moving around vte.c in vim, sometimes when I do the "o" command, the old cursor is not cleared.  I suspect the invalidation changes is a bit wrong somewhere.
Comment 1 Chris Wilson 2007-01-19 02:17:02 UTC
Created attachment 80674 [details] [review]
Clears the original cursor position afterwards

I'm at a loss as to why this behaves, but _vte_invalidate_cursor before doesn't.

Behdad, can you try this patch and confirm it fixes the floating trail.
Comment 2 Behdad Esfahbod 2007-01-19 11:50:53 UTC
Works for me.
Comment 3 Chris Wilson 2007-01-19 12:26:08 UTC
r1470: 2007-01-19  Chris Wilson <chris@chris-wilson.co.uk>

	Bug 398150 – cursor leaves trail behind in vim

	* src/vte-private.h:
	* src/vte.c: (_vte_invalidate_cell),
	(vte_terminal_process_incoming):
	* src/vteseq.c: (vte_sequence_handler_decset_internal):
		Invalidate the old cursor position if we detect the cursor
		moved during the sequence or if the cursor changed state.

Comment 4 Behdad Esfahbod 2007-01-19 13:30:14 UTC
Thanks.