lichray / nvi2

A multibyte fork of the nvi editor for BSD
Other
144 stars 34 forks source link

Display corruption after using file completion when numbering is enabled #104

Open johnsonjh opened 2 years ago

johnsonjh commented 2 years ago

Display corruption after completion when numbering.

To reproduce:

  1. Open a file that uses all visible screen lines. Screenshot from 2022-02-26 22-02-35
  2. :set filec=^ num Screenshot from 2022-02-26 22-03-15
  3. :e ^ Screenshot from 2022-02-26 22-03-39
  4. [space] Screenshot from 2022-02-26 22-04-09

This seems to affect all versions of nvi from at least 1.79.

Confirmed in 5fcdc13656500a8c5b4c073732bbc8ebb16288af

lichray commented 2 years ago

Confirmed.

johnsonjh commented 2 years ago

PR #107 is related and a workaround - but not yet a fix. Maybe you'll track it down before me. :)