Skip to content

No wraparound when inserting #4359

@javier-godoy

Description

@javier-godoy

Wraparound is only honored when typing at the end of the line. The line is not wrapped if characters are inserted at any other place.

wraparound
wraparound2

FWIW, I had implemented a workaround for xterm 4.19, which relied on the private _dirtyRowService.

Details

  • Browser and browser version: Chrome 108
  • xterm.js version: 5.1.0 + fit addon 0.7.0

Steps to reproduce

  1. Enable insert mode and wraparound mode
  2. Type some characters
  3. Move to the beginning of line
  4. Type more characters
  5. Observe that the line is not wrapped
terminal.write('2345678');
terminal.write('\x1b[7D');
terminal.write('1'.repeat(terminal.cols-1));

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/questionA question on how to use the library

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions