Commit Graph

140 Commits

Author SHA1 Message Date
Christopher Jeffrey 0eaff0bb07 fix enter key workaround. minor. typo. 2013-08-18 15:02:35 -05:00
Christopher Jeffrey 070cbd9001 decode mouse events and responses properly. 2013-08-13 11:30:44 -05:00
Christopher Jeffrey d42adf7e32 make enter and return keypresses identical on all platforms. see #2. 2013-08-13 11:30:20 -05:00
Christopher Jeffrey 7a8a0d2591 setMouse improvements. do not allow fg changes on selected items. do not bubble render events. 2013-08-02 05:59:54 -05:00
Christopher Jeffrey 598be3bb88 refactor constructors. 2013-08-01 03:28:10 -05:00
Christopher Jeffrey d3c34f6f89 optimize clickable sort. better autofocus. flush on exception. 2013-08-01 02:52:03 -05:00
Christopher Jeffrey f3df07a237 buffer everything. cancel acs at the end of draw() if necessary. 2013-07-31 17:43:03 -05:00
Christopher Jeffrey 51771dc19a add log method to program object. 2013-07-31 00:43:24 -05:00
Christopher Jeffrey 33214ee924 cleanup new dump method. 2013-07-29 19:06:22 -05:00
Christopher Jeffrey b7e7a8264b better dumps. 2013-07-29 19:00:31 -05:00
Christopher Jeffrey 084f28fcff content attribute and tag handling.
- handle content attributes with better respect to element's style.
- add a more sophisticated tag parser.
2013-07-28 13:20:52 -05:00
Christopher Jeffrey 8ea1fe4dab working nested scrolling. 2013-07-26 01:38:25 -05:00
Christopher Jeffrey 5e2f1061d1 misc - add a blessed.js file. 2013-07-24 14:41:02 -05:00
Christopher Jeffrey 1b5155cfae refactor and clean up program.js. 2013-07-24 14:17:52 -05:00
Christopher Jeffrey 0372788f2d add a buffering write function for program. 2013-07-24 13:23:35 -05:00
Christopher Jeffrey 9aaabacf68 fix initial setContent call. fix spawn() cursor handling. 2013-07-23 16:37:54 -05:00
Christopher Jeffrey 11c6e7269f matchColor and BCE tput check. 2013-07-23 06:34:40 -05:00
Christopher Jeffrey fe9406aba1 more tput fixes/improvements/refactoring. 2013-07-22 22:28:01 -05:00
Christopher Jeffrey 346e39b723 cleanup. improve BCE. remove old code. 2013-07-21 23:53:10 -05:00
Christopher Jeffrey 00e680d413 work on adding back_color_erase handling, acs optimization, and other stuff ncurses usually handles. 2013-07-21 21:05:35 -05:00
Christopher Jeffrey b8e0fafaeb misc. options. refactor tests/bin. 2013-07-18 18:02:45 -05:00
Christopher Jeffrey 48c2bae2a0 do not violate 80 col limit. 2013-07-18 15:01:42 -05:00
Christopher Jeffrey fa2206bb0a allow lowercase charset names. 2013-07-18 02:12:05 -05:00
Christopher Jeffrey 90c9484d8b remove old response() code. 2013-07-18 02:01:33 -05:00
Christopher Jeffrey b46d1161c5 refactor responses. 2013-07-18 01:51:08 -05:00
Christopher Jeffrey 7b7330ec5a fix CHA, fix SU and SD. 2013-07-18 00:22:24 -05:00
Christopher Jeffrey 7074d0da91 more terminfo paths. 2013-07-16 15:57:12 -05:00
Christopher Jeffrey b266f389e9 fix colors. 2013-07-16 00:18:31 -05:00
Christopher Jeffrey 3332e9d34e hex colors in program. another wrapContent fix. 2013-07-15 19:35:36 -05:00
Christopher Jeffrey caa21ee356 optimize alloc+clear. add a output dump option. 2013-07-14 12:08:03 -05:00
Christopher Jeffrey 6a44fd9a35 misc. add sigtstp method. 2013-07-14 10:16:19 -05:00
Christopher Jeffrey 990fb0d796 minor property rename. 2013-07-14 09:32:50 -05:00
Christopher Jeffrey 9db97cd61c easier feature checking. 2013-07-14 08:37:57 -05:00
Christopher Jeffrey 965af859b0 make mouse coords zero indexed. 2013-07-14 07:35:00 -05:00
Christopher Jeffrey 2105eb3d5b improve mouse enabling. 2013-07-14 07:16:33 -05:00
Christopher Jeffrey 363bc44caa fix terminfo if/else. detect features. 2013-07-14 06:24:04 -05:00
Christopher Jeffrey 342ed23b66 always enabled terminfo. prop rename. 2013-07-13 23:41:47 -05:00
Christopher Jeffrey ccf3794be2 unicode detect. docs. device attr. focus/blur. smacs checks. 2013-07-13 23:38:43 -05:00
Christopher Jeffrey 97c582164b keys. no mouse focus events. 2013-07-12 05:11:15 -05:00
Christopher Jeffrey 87a5188de9 docs. keys. misc. 2013-07-12 04:59:58 -05:00
Christopher Jeffrey 42399b17ab setEffects. misc fixes. 2013-07-12 03:34:32 -05:00
Christopher Jeffrey 3ef2048289 omove. misc. 2013-07-12 01:13:29 -05:00
Christopher Jeffrey ead26b4a66 start using zero-indexed instance of Program. 2013-07-12 00:36:36 -05:00
Christopher Jeffrey 5a96c3611d misc. remove old code. 2013-07-12 00:21:40 -05:00
Christopher Jeffrey cc863af2cf zero indexed program to mirror tput. 2013-07-12 00:03:48 -05:00
Christopher Jeffrey d452b72dd8 optimize updateCursor with CUU, CUD, CUF, and CUB. 2013-07-11 23:17:10 -05:00
Christopher Jeffrey 6ec3534fcd misc fixes. remove dead code. 2013-07-04 02:18:26 -05:00
Christopher Jeffrey c265194182 change screen keypress behavior. 2013-06-25 17:31:13 -05:00
Christopher Jeffrey 77593efd05 readme, tput, mouse, types, misc. 2013-06-25 06:35:15 -05:00
Christopher Jeffrey 07334af6fc readme. reduce screen events. 2013-06-24 06:16:02 -05:00
Christopher Jeffrey f431e98c03 major changes. better content formatting and parsing. 2013-06-20 06:43:56 -05:00
Christopher Jeffrey dc2bfda057 mousemove and mouse refactor. fixes. 2013-06-16 10:12:47 -05:00
Christopher Jeffrey 5247b41d8b constructor and options handling. 2013-06-14 15:58:54 -05:00
Christopher Jeffrey 9eaf45acab parsable attribute tags. 2013-06-13 20:21:41 -05:00
Christopher Jeffrey 1765d44a69 add shrink option to Box. 2013-06-13 04:22:45 -05:00
Christopher Jeffrey 761e2a2aaf insert and delete line functions utilizing csr. 2013-06-13 01:33:10 -05:00
Christopher Jeffrey 02c57a34ce emit more events. use tput. 2013-06-11 13:51:01 -05:00
Christopher Jeffrey 41c4560a6f add text input and setContent. 2013-06-09 13:17:24 -05:00
Christopher Jeffrey ed2b9ae4d0 major improvements. 2013-06-06 04:03:25 -05:00
Christopher Jeffrey 1d37b2b6e2 reorganize 2013-06-03 20:33:08 -05:00
Christopher Jeffrey a1c82b1aa7 set-title for screen. 2013-04-28 17:39:46 -05:00
Christopher Jeffrey 42815f72fa add extended xterm features. 2013-03-06 04:27:42 -06:00
Christopher Jeffrey 36971ed715 minor 2013-02-28 18:01:07 -06:00
Christopher Jeffrey 8a3f29fddb refactor 2013-02-27 12:26:33 -06:00
Christopher Jeffrey 983dfa943e inherit tput objects properties. 2013-02-27 12:23:55 -06:00
Christopher Jeffrey f7e8cde45e misc 2013-02-27 12:17:15 -06:00
Christopher Jeffrey 44ca13c291 refactor. misc fixes. 2013-02-25 19:10:19 -06:00
Christopher Jeffrey 618ba14369 optional printf. 2013-02-25 06:29:46 -06:00
Christopher Jeffrey ea4542027b fix clr_eos/ed and other possible collisions. 2013-02-25 02:05:27 -06:00
Christopher Jeffrey 68911aa357 more tput usage. 2013-02-25 01:47:32 -06:00
Christopher Jeffrey 55ba68195e start using tput. 2013-02-25 01:14:38 -06:00
Christopher Jeffrey 06d6734622 allow options object for Program constructor. 2013-02-24 12:05:24 -06:00
Christopher Jeffrey c477f71dd2 add termcap parser. 2013-02-22 15:51:13 -06:00
Christopher Jeffrey 7b067f2e65 helpers 2013-02-07 14:24:30 -06:00
Christopher Jeffrey 48d7d73116 minor 2013-02-07 12:43:51 -06:00
Christopher Jeffrey 9020f645af lazily set raw mode. 2013-02-07 12:33:50 -06:00
Christopher Jeffrey 1428b7137b refactor. clean up. more colors. 2013-02-07 12:19:49 -06:00
Christopher Jeffrey f03d84bb7b readme. example. fixes. response codes. 2013-01-29 23:26:27 -06:00
Christopher Jeffrey 0b62eabfce fix xterm mouse quirk 2013-01-29 18:07:52 -06:00
Christopher Jeffrey 61b9a58368 comments. urxvt mouse support. 2013-01-29 17:57:47 -06:00
Christopher Jeffrey ab02708306 improve mouse support 2013-01-28 17:30:51 -06:00
Christopher Jeffrey 8f85e05293 readme 2013-01-27 11:27:34 -06:00
Christopher Jeffrey 74841cdf73 disable mouse testing code 2013-01-27 11:09:00 -06:00
Christopher Jeffrey a10edf116e add mouse support 2013-01-27 11:08:02 -06:00
Christopher Jeffrey 8eaad35dfa readme. license. 2013-01-27 10:06:58 -06:00
Christopher Jeffrey 069bd16e46 better movement and method names. 2013-01-27 10:05:04 -06:00
Christopher Jeffrey 6d212aa42f get window size 2013-01-27 09:44:15 -06:00
Christopher Jeffrey ea95d414fe refactor attr. 2013-01-27 09:06:31 -06:00
Christopher Jeffrey b8739b581e add the rest. 2013-01-27 09:00:32 -06:00
Christopher Jeffrey b8f974b19d initial 2013-01-27 04:30:52 -06:00