Code::Blocks Forums

User forums => Help => Topic started by: gzz on September 19, 2020, 01:56:39 pm

Title: Escape Sequenzes
Post by: gzz on September 19, 2020, 01:56:39 pm
Hallo

could anyone help on this topic  :P :-[

working with codeblocks i tried to locate the cursor in the window

using printf("\033[%d;%dH",z,s); does not work

using printf("\033[2J"); does not work - same problem

the systems shows a ? in a small box

has anyone an idea how to get this work ?

some help would be great !

Bories

p.s. Codeblocks is running on windows 10, anything else works fine  :)
Title: Re: Escape Sequenzes
Post by: Pecan on September 19, 2020, 06:25:57 pm
MS has made it almost impossible to write ansi escape sequences to the console host process.

It can only be done with other program help.
Use google to find out how.
Example:
https://superuser.com/questions/413073/windows-console-with-ansi-colors-handling
Title: Re: Escape Sequenzes
Post by: gzz on September 20, 2020, 02:15:48 pm
Thank You

That helped a lot ! :D :)