From owner-cvs-src@FreeBSD.ORG Thu Mar 6 10:10:44 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99C54106566C; Thu, 6 Mar 2008 10:10:44 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 700058FC26; Thu, 6 Mar 2008 10:10:44 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m26AAiKi077522; Thu, 6 Mar 2008 10:10:44 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m26AAilh077521; Thu, 6 Mar 2008 10:10:44 GMT (envelope-from rwatson) Message-Id: <200803061010.m26AAilh077521@repoman.freebsd.org> From: Robert Watson Date: Thu, 6 Mar 2008 10:10:44 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/ddb db_input.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Mar 2008 10:10:44 -0000 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 Revision Changes Path 1.38 +1 -1 src/sys/ddb/db_input.c