Clean up editors/vi.c:readit() so it only does readahead when actually
authorRob Landley <rob@landley.net>
Tue, 14 Oct 2008 01:42:33 +0000 (01:42 -0000)
committerRob Landley <rob@landley.net>
Tue, 14 Oct 2008 01:42:33 +0000 (01:42 -0000)
commit988dd5549bc7e6c455bd16929eff7d9566822be1
tree2a30f76659669b2f16f54e59e6d25c355bc2d077
parentf886fd2bc7b313d5616e88822387cc6fd6898f34
Clean up editors/vi.c:readit() so it only does readahead when actually
parsing an escape sequence.  (This mitigates but doesn't fully fix the
the "cursoring around the file deletes data under qemu" bug, presumably due
to "\033[D" being treated as three separate characters.)
editors/vi.c