lichray / nvi2

A multibyte fork of the nvi editor for BSD

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Display corruption after using file completion when numbering is enabled

johnsonjh opened this issue · comments

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 5fcdc13

Confirmed.

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