Jump to content

Kajus

Members
  • Content Count

    2
  • Joined

  • Last visited

About Kajus

  • Rank
    Newbie
  1. Hi, there's a bug in console scrollBuffer function, consider following scenario: gcw->buffer = 0x0000 gcw->buffer[0] = A gcw->buffer[1] = \n gcw->bufpos = 1 // Remove one line from the start ep = gcw->buffer+gcw->bufpos; for(p = gcw->buffer; p < ep && *p != '\n'; p++) { #if GWIN_CONSOLE_ESCSEQ if (*p == 27) ESCtoAttr(p[1], &gcw->startattr); #endif } // Was there a newline, if not delete everything. if (*p != '\n') { gcw->bufpos = 0; return; } // Delete the data dp = ++p - gcw->buffer;
  2. Hi, is there any specific reason why gwinPrintg function can only be used if the gfile is enabled (and therefore also one of the file backends as the compilation fails with no backed enabled). I find this function quite handy, but as I don't use ugfx filesystem api, I don't want to enable the whole gfile stuff... Thanks you, Jakub
×
×
  • Create New...