cvs commit: src/sys/ddb db_input.c

Robert Watson rwatson at
Thu Mar 6 10:10:44 UTC 2008

rwatson     2008-03-06 10:10:44 UTC

  FreeBSD src repository

  Modified files:
    sys/ddb              db_input.c 
  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 at>
  Revision  Changes    Path
  1.38      +1 -1      src/sys/ddb/db_input.c

More information about the cvs-src mailing list