Xterm/VT100 Terminal emulator in Swift
SwiftTerm is a VT100/Xterm terminal emulator library written in Swift that can be embedded in macOS and iOS applications, as well as text-based and headless applications. Built by Miguel de Icaza with contributions from several collaborators including Marcin Krzyzanowski and Anders Borum, the project provides a reusable, UI-agnostic terminal engine alongside front-ends for AppKit on macOS and UIKit on iOS. The library supports extensive terminal features including Unicode and bidirectional text rendering, color modes, mouse events, graphics protocols (Sixel, iTerm2, and Kitty formats), SSH connections, and optional GPU-accelerated Metal rendering, and has been used in commercial SSH clients such as Secure Shellfish and La Terminal.