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

Events in XtermSharp #61

Open
migueldeicaza opened this issue Mar 15, 2020 · 0 comments
Open

Events in XtermSharp #61

migueldeicaza opened this issue Mar 15, 2020 · 0 comments

Comments

@migueldeicaza
Copy link
Owner

XtermSharp started with a TerminalDelegate pattern to notify of events, and overtime got a handful of .NET-style events later on added. This was because the TerminalDelegate was useful for Terminal, but the higher-level constructs did not use this.

I want to make XtermSharp mirror the design of SwiftTerm, where the notification pattern is always the delegate, even if this means re-publishing events to other delegates.

So for example, the TerminalView for AppKit implements TerminalDelegate and in addition, reports events via its own TerminalViewDelegate and so on.

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

No branches or pull requests

1 participant