Skip to content

Adds Linux support - #2

Open
mmllr wants to merge 1 commit into
bpisano:mainfrom
mmllr:main
Open

Adds Linux support#2
mmllr wants to merge 1 commit into
bpisano:mainfrom
mmllr:main

Conversation

@mmllr

@mmllr mmllr commented Aug 2, 2026

Copy link
Copy Markdown

This PR adds support for building on Linux with a few minor changes by addressing platform-specific incompatibilities:

  • Wrap TIOCGWINSZ and termios flag constants (e.g. ECHO, ICANON) in .init() to resolve Linux C-interop type mismatches (on Linux it is UInt32 vs UInt on macOS).
  • Add @preconcurrency to Foundation in Cursor.swift to avoid strict concurrency warnings on Linux
  • Skip XCTest performance benchmarks (os(Darwin)), copyToClipboard(), and remove the AppKit import — all macOS-specific

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 this pull request may close these issues.

1 participant