|
-
Sep 3rd, 2001, 07:38 PM
#1
Thread Starter
Addicted Member
Returning text cursor to upper left corner o' screen
BTW, Thanks for all your help
Member of the anti-gay cross-dressing trans-species wolves alliance.
-
Sep 4th, 2001, 09:47 AM
#2
Please explain...
Is this a console or a GUI app? Are you using an edit box or simply displaying the caret?
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Sep 4th, 2001, 11:00 AM
#3
for a console app, use ansi control codes
for cursor position -- escape [ row ; col H
Code:
char esc = 27;
printf("%d%s",esc,"[1;1H");
-
Sep 4th, 2001, 07:08 PM
#4
Thread Starter
Addicted Member
Yep a console app. Your answer just prints '27[1;1H', jim.
Last edited by Cuallito; Sep 4th, 2001 at 07:19 PM.
BTW, Thanks for all your help
Member of the anti-gay cross-dressing trans-species wolves alliance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|