mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
- Implement backspace control code in hal output.
svn path=/trunk/; revision=5882
This commit is contained in:
parent
e092af6dee
commit
927f2ae503
1 changed files with 8 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
/* $Id: display.c,v 1.9 2003/08/25 12:26:50 dwelch Exp $
|
/* $Id: display.c,v 1.10 2003/08/27 20:56:26 dwelch Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -709,6 +709,13 @@ HalDisplayString(IN PCH String)
|
||||||
CursorY++;
|
CursorY++;
|
||||||
CursorX = 0;
|
CursorX = 0;
|
||||||
}
|
}
|
||||||
|
else if (*pch == '\b')
|
||||||
|
{
|
||||||
|
if (CursorX > 0)
|
||||||
|
{
|
||||||
|
CursorX--;
|
||||||
|
}
|
||||||
|
}
|
||||||
else if (*pch != '\r')
|
else if (*pch != '\r')
|
||||||
{
|
{
|
||||||
HalPutCharacter (*pch);
|
HalPutCharacter (*pch);
|
||||||
|
|
Loading…
Reference in a new issue