SwiftTerm icon indicating copy to clipboard operation
SwiftTerm copied to clipboard

Windows Port

Open migueldeicaza opened this issue 3 years ago • 0 comments

There are two parts to a Windows port.

The Terminal engine itself is platform agnostic - it does not contain any knowledge about MacOS or iOS, so it is fully portable.

This is what is required:

  • [ ] Build a UI host that renders the contents of the terminal engine using the toolkit of choice (Win32, UWP)
  • [ ] Connect input to sending the data to the connected app.
  • [ ] Create a shell app, similar to the "TerminalApp/MacTerminal" that surfaces menus and UI for assorted elements of the terminal as well as configuration options (note that I have not done a config panel for macOS, but I have done one for iOS, but it lives in the SwiftTermApp repo).

Additionally:

  • [ ] Add the ability to launch a local process (I suspect this is cmd, and using winpty) for running local commands
  • [ ] or Link with SwiftSH like the iOS sample app does so that it can be used as a terminal that connects to remote servers.

Toolkit

I am not attached to Win32, WPF or UWP, could use some guidance from the community as to the best approach.

migueldeicaza avatar Aug 06 '20 02:08 migueldeicaza