# HG changeset patch # User gthomas # Date 1070628715 0 # Node ID fa9edbd9ccaaeb7cb10c0502e5003f84d24f9672 # Parent 879ff7a40226b9f8ec06a3a8773ebbc83eb3787d Fix ^A handling diff --git a/packages/redboot/current/ChangeLog b/packages/redboot/current/ChangeLog --- a/packages/redboot/current/ChangeLog +++ b/packages/redboot/current/ChangeLog @@ -1,3 +1,8 @@ +2003-12-05 Gary Thomas + + * src/io.c (_rb_gets_preloaded): ^A could have moved the cursor to + the wrong location on the screen if ^F/^B had been used. + 2003-12-03 David Vrabel * src/time_date.cxx (do_time_date): Use YYYY/MM/DD HH:MM:SS format diff --git a/packages/redboot/current/src/io.c b/packages/redboot/current/src/io.c --- a/packages/redboot/current/src/io.c +++ b/packages/redboot/current/src/io.c @@ -456,7 +456,7 @@ int case CTRL('A'): // Move insertion point to beginning of line if (ip != buf) { - xp = eol; + xp = ip; while (xp-- != buf) { mon_write_char('\b'); }