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

Implement other terminal drivers #63

Closed
jinek opened this issue Apr 12, 2022 · 1 comment · Fixed by #72
Closed

Implement other terminal drivers #63

jinek opened this issue Apr 12, 2022 · 1 comment · Fixed by #72

Comments

@jinek
Copy link
Owner

jinek commented Apr 12, 2022

Consolonia has abstraction IConsole which has two implementations: DefaultNetConsole for standard System.Console and UnitTestConsole for unit testing.
System.Console has several imiltations, for example it filters out mouse and window events.

Investigate gui.cs - should bring mouse, keys up/down support and better window events. Similar topic has been raised at gui-cs/Terminal.Gui#27

As an outcome of this task create more details tasks on implementing other drivers.
Same time consider refactoring IConsole itself: SetCaretPosition/GetCaretPosition can be merged in to one property, KeyPress can be replaced/extended with KeyDown/KeyUp events, more events like MouseMove, Resize should be introduced.

@jinek
Copy link
Owner Author

jinek commented May 2, 2022

Additionally, check dotnet/runtime#52374

@jinek jinek linked a pull request Jun 25, 2022 that will close this issue
@jinek jinek closed this as completed in #72 Jul 23, 2022
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 a pull request may close this issue.

1 participant