Author Topic: Escape Sequenzes  (Read 3410 times)

Offline gzz

  • Single posting newcomer
  • *
  • Posts: 2
Escape Sequenzes
« 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  :)

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2750
Re: Escape Sequenzes
« Reply #1 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

Offline gzz

  • Single posting newcomer
  • *
  • Posts: 2
Re: Escape Sequenzes
« Reply #2 on: September 20, 2020, 02:15:48 pm »
Thank You

That helped a lot ! :D :)