IgorTimofeev / MineOS

Home of MineOS and it's software for OpenComputers mod
Other
733 stars 191 forks source link

[BUG] Calculator appp crashes when the calculated number ecceds 65535 #586

Closed QM8782 closed 5 months ago

QM8782 commented 5 months ago

Describe the bug This bug is due to the character limit on the Unicode api. This only happens when the answer/input is below 0 or beyond 65535.

To Reproduce Steps to reproduce the error:

  1. Open the Calculator application
  2. Get the number beyond 65535 or below 0
  3. Error pops up

Expected behavior Expect to see an "Out of range error"

Additional context This is the character display issue. Please fix the issue by modifying the code so that if it exceeds the 0-65535 limit, to not show the character. This will greatly impact the app, making the user able to calaculate inputs again without the 0-65535 limit.

Smok1e commented 5 months ago

Fixed, thank you for report