Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cursor().writeAt ignores row column. #27

Open
bsutton opened this issue Aug 15, 2020 · 0 comments
Open

Cursor().writeAt ignores row column. #27

bsutton opened this issue Aug 15, 2020 · 0 comments

Comments

@bsutton
Copy link

bsutton commented Aug 15, 2020

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();
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant