Skip to content

Replace libtelnet with MTHClient and add truecolor ANSI parsing#12

Merged
powerje merged 1 commit intotrunkfrom
use_mth_client
Mar 14, 2026
Merged

Replace libtelnet with MTHClient and add truecolor ANSI parsing#12
powerje merged 1 commit intotrunkfrom
use_mth_client

Conversation

@powerje
Copy link
Copy Markdown
Member

@powerje powerje commented Mar 14, 2026

Summary

  • Replace vendored libtelnet C library with MTHClient Swift package for telnet protocol handling
  • Rewrite SSMUDSocket in Swift, delegating telnet negotiation to MTHClient
  • Add truecolor (24-bit) ANSI color parsing support in SSANSIEngine
  • Remove SPLTelnetLib Objective-C wrapper and associated tests
  • Add local/remote package resolution for MTHClient (local for dev, tagged release for CI)

Test plan

  • Verify MUD connections work end-to-end (connect, send commands, receive output)
  • Verify ANSI colors render correctly including 256-color and truecolor
  • Verify telnet negotiation (NAWS, MCCP2) works with MUD servers
  • Run MRTests test suite

@powerje powerje merged commit 97c8b82 into trunk Mar 14, 2026
5 checks passed
@powerje powerje deleted the use_mth_client branch March 14, 2026 13:05
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