mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-12 03:01:09 +00:00
...
This commit is contained in:
parent
8a3e81b7ba
commit
3d37348c2b
1 changed files with 1 additions and 1 deletions
|
|
@ -236,7 +236,7 @@ class DiffHandler(Handler):
|
|||
return
|
||||
self.cmd.set_cursor_position(0, self.num_lines)
|
||||
self.cmd.clear_to_eol()
|
||||
scroll_frac = styled('{:.0%}'.format(self.scroll_pos / self.max_scroll_pos), fg=self.opts.margin_fg)
|
||||
scroll_frac = styled('{:.0%}'.format(self.scroll_pos / (self.max_scroll_pos or 1)), fg=self.opts.margin_fg)
|
||||
counts = '{}{}{}'.format(
|
||||
styled(str(self.added_count), fg=self.opts.highlight_added_bg),
|
||||
styled(',', fg=self.opts.margin_fg),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue