Gary Johnson wrote:
> I seldom use gvim on Linux and even less often use :sh from gvim, so > I didn't notice this until recently when projects and my workflow > changed. > > When :sh is used in gvim to launch a shell, the backspace and ^U no > longer work. Instead of backspacing or clearing the line, each just > puts gibberish in the line. I discovered that each was broken by > a different commit, so I'm reporting them separately. > > Steps to reproduce > > 1. $ vim -g -N -u NONE -i NONE > 2. :sh > 3. Type a bunch of printing characters, it doesn't seem to matter > what. For example: > > $ hello > > 4. Type the backspace key. > 5. The 'o' is replaced by a 'b' and the cursor remains at the end > of the line. > > Expected behavior > > The cursor should move one space to the left, erasing the 'o'. I see the problem. The code was moved to a function, but the side effect of changing "len" was dropped. I'll make a fix. It is surprising it took so long for someone to notice. -- XML is a nice language for computers. Not for humans. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/20221003192241.977621C09A3%40moolenaar.net.
