Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start of improved layering #1508

Merged
merged 15 commits into from
Jun 20, 2018
Merged

Start of improved layering #1508

merged 15 commits into from
Jun 20, 2018

Conversation

Tyriar
Copy link
Member

@Tyriar Tyriar commented Jun 10, 2018

Curious what people think of this change, I haven't gone and done a polish pass on this yet but the basic structure I think we should start with when considering #1507 is there.

  • Created IKeyboardEvent in common
  • Moved key event to escape sequence translation into core/input/Keyboard.ts and added some tests
  • Introduced public which is the new API. This will allow us to make changes to ./src/Terminal and eventually move it into core. This will break any integrations that access private API (which we don't guarantee).

@mofux
Copy link
Contributor

mofux commented Jun 12, 2018

Can we safely merge this without breaking compatibility of the 3.x releases, or should this be targeted towards a 4.0 release? I'm a bit afraid the changes in this PR become stale if this hangs around for too long. I think as long as we maintain compatibility with the public 3.x api it should be okay to merge, no?

@Tyriar
Copy link
Member Author

Tyriar commented Jun 12, 2018

I think this maintains the public API fine. It will break VS Code for example but that's because buffer is touched.

I'll polish it up now as merging this will really help with pulling components into their correct spots.

@Tyriar
Copy link
Member Author

Tyriar commented Jun 12, 2018

Ok I think it's ready for proper review(s)

@mofux
Copy link
Contributor

mofux commented Jun 12, 2018

Still a long way to go, but it's a good start 😅Tested locally and works fine 👍

@Tyriar
Copy link
Member Author

Tyriar commented Jun 20, 2018

Works in VS Code so merging in

@Tyriar Tyriar added this to the 3.5.0 milestone Jun 20, 2018
@Tyriar Tyriar merged commit f9bc3c5 into xtermjs:master Jun 20, 2018
@Tyriar Tyriar deleted the layering branch June 20, 2018 11:35
Copy link

@Kya123iu Kya123iu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants