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

🐛[BUG] - Controller text cuts off too early #679

Open
ssejrog opened this issue Jun 9, 2024 · 0 comments
Open

🐛[BUG] - Controller text cuts off too early #679

ssejrog opened this issue Jun 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ssejrog
Copy link
Contributor

ssejrog commented Jun 9, 2024

Describe the bug

When printing to the controller, the text cuts off earlier than it should.

To Reproduce

In a new project, run this code twice, switching which master.set_test() is ran.

void opcontrol() {
  pros::Controller master(pros::E_CONTROLLER_MASTER);

  while (true) {
    // master.set_text(2, 0, "0.0          0.0");  // both of these print to controller, but the second one isn't all the way to the right 
    master.set_text(2, 0, "0.0             0.0");  // with an additional 3 spaces, only the first 0.0 will print to controller
    
    pros::delay(50);
  }
}

Expected Behavior

The text cutoff should be at the edge of the screen instead of somewhere in the middle.

Screenshots

The cutoff being early can be seen in the image below.
image

Desktop (please complete the following information):

  • Windows 10
  • Kernel 4.1.0
  • lvgl 8.3.8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant