Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 709 Bytes

readme.md

File metadata and controls

16 lines (11 loc) · 709 Bytes

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.