glow icon indicating copy to clipboard operation
glow copied to clipboard

Poor scrolling performance

Open rumly111 opened this issue 4 years ago • 1 comments

When I open a Markdown file with glow in "pager" mode (-p), the scrolling up/down is very sluggish. At first I thought my terminal is slow, but later I tested on a fast terminal emulator (xfce4-terminal), and it was still slow.

glow version 1.3.0 (0a83049)

rumly111 avatar Feb 15 '21 15:02 rumly111

Unfortunately, this is likely because less (which I'm assuming you're using for your pager) is choking on the large amount of ANSI sequences glow is using to color markdown documents.

You may have better results with a terminal emulator that runs on the GPU like Kitty, Konsole or Alacritty, or potentially by changing pagers.

meowgorithm avatar Mar 03 '21 00:03 meowgorithm