Re: [patch] fix another End keypress lockup in the viewer

Jindrich Makovicka wrote:

the new viewer has a problem with viewing files with DOS line
separators, which manifests again in a lockup after pressing the End
key. Then, it is impossible to move the view further, except by pressing
the Home key.

I have corrected the view_ccache_lookup() function so that it does not store an entry in the cache when the previous character is a '\r'. Can you please check if this fixes the bug? I still cannot reproduce it. :(


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]