A massive caret height should be possible
This commit is contained in:
parent
253e69413d
commit
8ef53a8582
|
@ -453,7 +453,9 @@ int drawinput(int x, int y, int w) {
|
|||
int fw = MAX(2, caretwidth);
|
||||
int fp = caretpadding;
|
||||
|
||||
if (fh > sp.bh || !fh) {
|
||||
if (fh > sp.bh) {
|
||||
fh = sp.bh;
|
||||
} else if (!fh) {
|
||||
fh = sp.bh - sp.lrpad / 4;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue