Uploaded image for project: 'vpp'
  1. vpp
  2. VPP-1295

vpp input '\b' problem

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • 18.07
    • 18.04, 18.07
    • CLI
    • None

       

      [1] Sending backspace to the terminal doesn’t do what you would expect on the left edge. This also impacts when you cursor-up/down through the CLI history if those lines are longer than the terminal width.

       

       

      When VPP cli configuring multi line content, then continuously input '\b', or press' backspace '/' backspace 'continuously, the CLI cursor can only go back to the left of the line and cannot return to the last line. How can this problem be solved?

       

      Example:

      first:

      VPP# aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

      aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

      aaaaaaa

       

      then input 'backspace' , can only be deleted last seven 'a'

      VPP# aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

      aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

            chrisluke Chris Luke
            YutingZhang Yuting Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: