Aucune description

Miguel de Icaza df7e9ab134 Some selection work, some mouse support work il y a 5 ans
MacTerminal 8591144900 Sprinkle some bug fixes il y a 5 ans
SwiftTerm df7e9ab134 Some selection work, some mouse support work il y a 5 ans
SwiftTerm.xcodeproj a6234c3fea Cleanup warnings il y a 5 ans
iOS 3d78c4e93f Move files to Swift package il y a 5 ans
iOSTests 273db4138b Rename things so I can make a package il y a 5 ans
.gitignore b95fa24cee Add il y a 5 ans
LICENSE 14e7d39357 Add il y a 5 ans
README.md 4fbee8ebc5 Assorted commands implemented and assorted fixes il y a 5 ans
TODO.md df7e9ab134 Some selection work, some mouse support work il y a 5 ans

README.md

SwiftTerm

SwiftTerm is a VT100/Xterm terminal emulator for Swift, the engine is intended to be agnostic from potential front-ends and backends (for example an AppKit front-end, a UIKit front-end, a TermKit front-end and so on; and backends to directly spawn a child shell, or connect it to a remote session).

This is a work-in-progress, and a port of XtermSharp, which was itself based on xterm.js.

The terminal itself does not deal with connecting the data to to a process or a remote server. Data is sent to the terminal by passing a byte array with data to the "Feed" method.

Convenience classes exist to spawn a subprocess and connecting the terminal to a local process, and allow some customization of the environment variables to pass to the child.

Status

Validated and up to date with XtermSharp:

  • Buffer
  • BufferSet
  • CharData
  • CharSet
  • TerminalOptions
  • BufferLine
  • CircularList
  • EscapeSequenceParser
  • EscapeSequences
  • Colors
  • Reflows*
  • Terminal - I am merging this an InputHandler, which I always hated being split

Pending:

  • InputHandler
  • Pty
  • SelectionService
  • RuneExt

MacView:

  • autoScrollTimer.Elapsed += AutoScrollTimer_Elapsed;
  • accessibilityService
  • selectionView
  • searchService

Desired:

  • CharData.attribute should not be an Int32, should be a strong type
  • Should replace repetitive code for cmdXXX to get the default out of [pars]

Against version: 57cf109188 from Feb 27, 2020

Features