DirectMyFile / console.dart

Console Library
Other
107 stars 24 forks source link

Cursor().writeAt ignores row column. #27

Open bsutton opened 3 years ago

bsutton commented 3 years ago

The current writeAt command ignoes the passed row and column


  void writeAt(int column, int row, String text) {
    Console.saveCursor();
    write(text);
    Console.restoreCursor();
  }

It should be:


  void writeAt(int column, int row, String text) {
    Console.saveCursor();
    move(column, row);
    write(text);
    Console.restoreCursor();
  }