How do you save the cursor’s position with the ANSI driver?
This maneuver can be accomplished with <esc>[s. Here is a program that demonstrates this action:
#include <stdio.h>
main()
{
printf( “Cursor position is %c[s \n” , 27 );
printf( “Interrupted!\n” );
printf( “%c[uSAVED!!\n” , 27 );
return( 0 );
}
Cross Reference:
None
This maneuver can be accomplished with <esc>[s. Here is a program that demonstrates this action:
#include <stdio.h>
main()
{
printf( “Cursor position is %c[s \n” , 27 );
printf( “Interrupted!\n” );
printf( “%c[uSAVED!!\n” , 27 );
return( 0 );
}
Cross Reference:
None
No comments:
Post a Comment