KEMBAR78
Implement virtual selection · Issue #207 · xtermjs/xterm.js · GitHub
Skip to content

Implement virtual selection #207

@Tyriar

Description

@Tyriar

Handling selection manually, rather than relying on native web selection, will fix a bunch of issues that are introduced by the input helper text area, such as #68, #69 as well as:

  • Double clicking on the prompt line being flaky due to focus shifting from .xterm to the text area.
  • Double clicking on a URL/path to highlight the whole path (ie. don't use / and similar chars as separators)
  • Selecting and copying multiple pages of the buffer
  • Making the selection's line height exact so there are never any gaps between lines
  • Don't drop the selection when there's a content change or viewport scroll text-selection is lost when data is written outside of the viewport #468 (comment)

Metadata

Metadata

Assignees

Labels

type/enhancementFeatures or improvements to existing features

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions