Metropoli BBS
VIEWER: edlinf.c MODE: TEXT (ASCII)
/*Copyright (C) 1992, 1996 by Thomas Glen Smith.  All Rights Reserved.*/
/* edlinf APL2 V1.0.0 **************************************************
* Edlinf is called by edline edling and gettcom to backspace the       *
* cursor.                                                              *
***********************************************************************/
#define INCLUDES STDIO
#include "includes.h"
void edlinf(line,pcursor,bsp)
char line[];	/* line on display */
int *pcursor;	/* point to cursor position */
int bsp; 		/* number of backspace characters ('\b') to emit */
{	
	while(bsp--) {
		putchar('\b');
		(*pcursor)--;
	}
}
[ RETURN TO DIRECTORY ]