TeMPOraL / nyan-mode

Nyan Cat for Emacs! Nyanyanyanyanyanyanyanyanyan!
GNU General Public License v3.0
794 stars 68 forks source link

Trail length is wrong in narrowed buffer #34

Open sonatagreen opened 7 years ago

sonatagreen commented 7 years ago

Narrowing the buffer seems to result in the length of the rainbow trail being too short. It seems that the trail length is calculated as something like (position within visible region)/(length of whole buffer), where it should be (position within visible region)/(length of visible region).

Emacs 25.2.1, Trisquel 7.0.