Date: Thu, 6 Mar 2008 10:10:44 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ddb db_input.c Message-ID: <200803061010.m26AAilh077521@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2008-03-06 10:10:44 UTC
FreeBSD src repository
Modified files:
sys/ddb db_input.c
Log:
When redrawing an input line, count backspaces to get to the beginning of
the input field from the current cursor location, rather than the end of
the input line, as the cursor may not be at the end of the line.
Otherwise, we may overshoot, overwriting a bit of the previous line and
failing to fully overwrite the current line.
MFC after: 3 days
PR: 119079
Submitted by: Michael Plass <mfp49_freebsd@plass-family.net>
Revision Changes Path
1.38 +1 -1 src/sys/ddb/db_input.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803061010.m26AAilh077521>
