I have an idea for a new feature for jQuery Terminal
When you work with less and run less, when in less you create a form of a stack. Even that it doesn't exist explicitly, there should be a way to check the size of the stack. So you know how many times you need to type q to exit to the main interpreter.
Maybe:
You can't use length since this is a read only property of a function.