assembly - how to make a 'backspace' program in C? -
assembly - how to make a 'backspace' program in C? -
i creating library function print , scan using assembly language , c. when entering datas getting print,but problem when press backspace button cursor moving backwards(but not deleting anything)..i want backspace button work properly(ie,to delete previous character)
so there programme that.please help me.
the simple, albeit hackish, way write backspace characters (\b
) console.
for example:
#include <stdio.h> int main() { printf("testing"); fflush(stdout); printf("\b\b\b"); fflush(stdout); homecoming 0; }
but type of thing should handled terminal driver. don't mention operating scheme you're targeting in question.
c assembly
Comments
Post a Comment