Rob Cameron
Rob Cameron

Reputation: 9786

Mac/Cocoa: Embed a terminal window in my app

Anyone found out if it's possible to "embed" an instance of Terminal into an app? It would be awesome if it also just inherited the tab functionality and drag-drop-ness as well. I saw a couple similar questions on here that mentioned iTerm but it seems like there should be an easier way. Like a NSTerminal object I can pop into a view.

I asked the Panic guys about this. They have a terminal window in Coda that for all intents and purposes looks/functions exactly like Terminal.app running standalone on the desktop. However, their response was that they had to write that themselves from scratch. I'm hoping someone has figured out a better way!

Thanks!

Upvotes: 14

Views: 3298

Answers (2)

Dunk
Dunk

Reputation: 96

You can do this with the Pathfinder SDK from Cocoatech.

Upvotes: 8

Chuck
Chuck

Reputation: 237030

No such thing AFAIK. I don't think embedding a full-featured terminal into an unrelated app is a common enough need that anybody would have made a control like that — even Panic only use it in the one app.

Upvotes: 0

Related Questions