I suspect that the height (in #lines) of the window in incorrectly computed in the Vty UI.
On Sun, Mar 22, 2009 at 1:51 AM, <[email protected]> wrote: > > This patch seems to make things a bit worse for me: > > 1. Start with a file that is larger than the current screen (emacs > keybindings) > 2. Ctrl-L to center current line vertically > 3. Ctrl-X 2 to split windows. Cursor is now in bottom window. > Issue#1: Ctrl-X -- immediately, the *top* window redraws with a > scrolled perspective. > Issue#2: bottom window cannot be paged scrolled (PgUp, PgDn, Ctrl-v, > Meta-v) although single-line movement still works. > > Issue#2 persists, but only while both windows show the same file. > > -KQ > > On Mar 17, 2:05 pm, Jean-Philippe Bernardy > <[email protected]> wrote: >> Tue Mar 17 13:11:39 EDT 2009 [email protected] >> * Fix pointDrive behavior in Vty >> Ignore-this: a6c8e5d9bbdfdedabd393b9c3d1aad73 >> >> Always revert pointDrive back to True after scrollAndRenderWindow. >> Previously it was only reverted back to True after the point was >> found outside the window, which meant that the first call to, >> e.g. C-v after a call to scrollB would cause incorrect behavior. >> >> M ./Yi/UI/Vty.hs -3 +3 > > > --~--~---------~--~----~------------~-------~--~----~ Yi development mailing list [email protected] http://groups.google.com/group/yi-devel -~----------~----~----~----~------~----~------~--~---
