Skip to content

A command shell for Cocoa implemented as an NSTextView subclass.

License

Notifications You must be signed in to change notification settings

jbrennan/JBShellView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JBShellView

This class provides a shell or command-line interface. Some features:

  • Cocoa native, it's an NSTextView subclass
  • Supports command history, so you can use up and down arrows, as you'd expect
  • Supports auto-pairing for smarter text editing via JBTextEditorProcessor
  • Supports asynchronous operations so you don't hang the interface.

Demo

Alt text

The demo application shows off the Shell view and lets you enter commands. The only recognized command is search some query, but by checking out the app you can hopefully figure out how to support different commands. It's pretty straightforward.

About

A command shell for Cocoa implemented as an NSTextView subclass.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published