[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] TosWin console



I was experimenting with some small changes to Highwire last night when I
noticed something odd.

I was writing some data to the console with printf and saw that \n wasn't
behaving as I expected. Instead of starting the following data at the
start of the next line it was just on the line below at the same offset.
Like this:


123
  abc
     123
        abc

the code was something like:

printf ("shift=%04X \n ctrl=%04X \n", shift, ctrl);

I suspect I was tired and doing something really stupid.

Peter