Please sign in to comment.
SUPERNOVA: Fixes too large edit() field
Before edit() cleared the input on screen by overdrawing it from x to the right side of the screen. This works fine for terminals but for example setting the watches alarm time it does not. The text font is 5x8 so overdrawing the max input length + 1 * 5 is sufficient to clear the screen from our input and the cursor. Also if the value ends up being too big it is clamped to the right side of the screen.
- Loading branch information...
Showing with 5 additions and 1 deletion.