Commit Graph

36 Commits

Author SHA1 Message Date
Chris 08ab24d665 Bugfixes to help command 2017-01-30 12:10:23 +01:00
Chris fdd1814875 Moved onEnter event 2017-01-29 20:31:04 +01:00
Chris 75c624520d Updated examples, added onEnter method to contexts 2017-01-29 20:27:17 +01:00
Chris ec60970b5d Added getContext method to shell 2017-01-28 13:00:26 +01:00
Chris 7c76928c3b Even more tweaks 2017-01-27 04:43:44 +01:00
Chris ff9845e23e Tweaks to help styling 2017-01-27 04:36:23 +01:00
Chris e5b328b822 Spiced up the help 2017-01-27 04:30:50 +01:00
Chris cee82fc740 Added getInput() method for basic async input 2017-01-25 21:49:26 +01:00
Chris c7b1a637c2 Removed descr from command props 2017-01-24 21:13:20 +01:00
Chris 809c04abfa Code cleanup, better examples, tasks added 2017-01-24 14:42:43 +01:00
Chris 4cd5cc2620 Comments and improvements 2017-01-24 00:49:13 +01:00
Chris 5a45ca9c46 Rewrite, cleanup and bugfixes
* More events added, constants cleaned up
* Events now handled using noccylabs/tinyevent
* Fixed magenta/cyan mixup in style
* Fixed LineRead not resetting history pointer on command
2017-01-23 23:28:12 +01:00
Chris b6727bed80 Fixed timer implementation 2017-01-22 23:22:13 +01:00
Chris 0e5a25567c Added exception handling to run() 2016-11-21 01:26:06 +01:00
Christopher Vagnetoft bdec60717f Improved the cursor in LineRead when using history 2016-11-19 15:46:13 +01:00
Christopher Vagnetoft 43a6475192 Added an execute() method to context to catch unhandled commands 2016-11-19 14:18:53 +01:00
Chris 7bfd8453e7 Improved the context stack 2016-11-15 03:29:00 +01:00
Chris 482d8a54e5 Prompt can now be set before linereader is created 2016-11-12 16:37:51 +01:00
Chris b2a23f992d Fixed an issue with the help command 2016-11-04 02:23:10 +01:00
Chris 455574b6a5 Fixed issue with global commands in parent contexts 2016-11-02 22:49:19 +01:00
Chris 46806e3d62 Bugfixes in lineread, implemented command history 2016-11-02 22:11:35 +01:00
Chris 427cac578a Implemented timers 2016-11-02 14:22:53 +01:00
Chris ea09a15963 Ooops, bugfix. 2016-11-02 13:57:12 +01:00
Chris fe27eeb4a3 Bugfixes and improvements to shell and context 2016-11-02 13:53:56 +01:00
Chris a2c1148c52 Now shows context class with . 2016-11-01 16:27:23 +01:00
Chris 81dea747b2 Doccomment can now override context command name 2016-11-01 16:19:38 +01:00
Chris ae17abb6c1 Improved context commands 2016-11-01 16:10:35 +01:00
Chris 01ee043bac The . builtin command now shows the stack too 2016-11-01 15:45:54 +01:00
Chris bb74b56fc4 Armored getContextPath() 2016-11-01 15:32:53 +01:00
Chris 3cbf504aed Fixed bug in addCommands 2016-11-01 15:28:03 +01:00
Chris 612e8d06c0 Implemented update event 2016-11-01 15:15:47 +01:00
Chris de7f12b7d5 Implemented contexts, optimizations 2016-11-01 15:12:11 +01:00
Christopher Vagnetoft 27af65af5e Changed prompt management 2016-04-29 15:49:10 +02:00
Christopher Vagnetoft 06d879853c Command and prompt style can be modified 2016-04-29 02:25:57 +02:00
Christopher Vagnetoft 0c64bc2f70 Improvements 2016-04-25 20:47:30 +02:00
Christopher Vagnetoft e6f6fbe3d3 Initial commit 2016-04-13 03:19:22 +02:00