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

Line cursor invisible (zero sized) if cell_width is small enough #1175

Closed
paolo-sz opened this issue Oct 17, 2022 · 2 comments
Closed

Line cursor invisible (zero sized) if cell_width is small enough #1175

paolo-sz opened this issue Oct 17, 2022 · 2 comments

Comments

@paolo-sz
Copy link
Contributor

After fixes for #1157 the line cursor had became invisible (zero sized) if the cell_width is small enough (< 8).
The "offending" line is this one:

caret_width *= cell_width / 8;

where, if cell_width is less than 8 then caret_width is multiplied by 0.
Maybe it would be better to ensure a minimum value (eg. 1) in case caret_width is zero at that point.

@mintty
Copy link
Owner

mintty commented Nov 5, 2022

I actually have the habit to close issues after the next release, but thanks anyway.

@mintty
Copy link
Owner

mintty commented Nov 14, 2022

Released 3.6.2.

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

2 participants