Merge pull request #1080 from jgmdev/PR/fix-commandview-caret

CommandView: do not change caret size with config.line_height
This commit is contained in:
Jefferson González 2022-07-17 12:29:52 -04:00 committed by GitHub
commit e4bef5c5b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -226,6 +226,11 @@ function CommandView:exit(submitted, inexplicit)
end
function CommandView:get_line_height()
return math.floor(self:get_font():get_height() * 1.2)
end
function CommandView:get_gutter_width()
return self.gutter_width
end