Commit Graph

167 Commits

Author SHA1 Message Date
Christopher Jeffrey 1d900c928d add vt200hilite for forced mouse modes. see #101. 2015-02-01 07:47:00 -08:00
Christopher Jeffrey b6853fbd88 minor style fixes. 2015-02-01 07:36:53 -08:00
Christopher Jeffrey ac6b54c181 comments. license. 2015-02-01 07:22:39 -08:00
Christopher Jeffrey f13f1242b2 gpm: add a gpmMouse option for setMouse. 2015-02-01 07:10:17 -08:00
Christopher Jeffrey 87a3d2f288 gpm: refactor to fit style. 2015-02-01 07:07:55 -08:00
Christopher Jeffrey fae4acceef Merge remote-tracking branch 'mgliewe/master'
Conflicts:
	lib/program.js
2015-02-01 06:46:22 -08:00
Mario GLiewe fc227ed503 workaropund: allow forced mouse protocol via env 2015-02-01 13:16:29 +01:00
Christopher Jeffrey 8247501924 check for OSX terminal env variables. 2015-01-31 22:29:43 -08:00
Christopher Jeffrey 9589eb81d6 more env variable checks for vte. 2015-01-31 22:22:15 -08:00
Christopher Jeffrey 32a783b282 check for terminator - more VTE usage. 2015-01-31 21:57:23 -08:00
Christopher Jeffrey ffbadfc988 add vt200Mouse to rxvt because it supports it. 2015-01-31 18:54:23 -08:00
Christopher Jeffrey 37f2313979 more vte+rxvt cleanup. see #89. 2015-01-31 18:49:15 -08:00
Christopher Jeffrey 3cdcc7a64b more fixes for VTE. see #89. 2015-01-31 18:36:47 -08:00
Christopher Jeffrey f055496161 fix program.getCursor. fixes #25. 2015-01-31 12:57:21 -08:00
Christopher Jeffrey 955f509581 drop wrapCursor and parseChar. should be used for other terminfo feature checks. 2015-01-31 12:35:22 -08:00
Christopher Jeffrey 1795cd93d6 use setImmediate everywhere. 2015-01-31 12:26:19 -08:00
Mario GLiewe 96a19b8523 Merge https://github.com/chjj/blessed 2015-01-31 21:21:14 +01:00
Christopher Jeffrey 127ae12c1b use urxvt mouse protocol for vte-based terminals. fixes #89. 2015-01-31 01:51:40 -08:00
Christopher Jeffrey df73eb5e3e Revert "add workarounds for libvte mouse events. see #89."
This reverts commit bb61e5c144.
2015-01-31 01:51:12 -08:00
Christopher Jeffrey bb61e5c144 add workarounds for libvte mouse events. see #89. 2015-01-31 01:43:16 -08:00
Christopher Jeffrey 547812928e window title. potential enter/return fix for keys. 2015-01-29 20:08:23 -08:00
Christopher Jeffrey 02176938c9 add screen.title property. misc. 2015-01-27 20:39:00 -08:00
Mario GLiewe d8eff3fa55 fix: make mousewheel work for gpm 2015-01-28 04:01:49 +01:00
Mario GLiewe efe4e475a6 added gpm support for linux vc 2015-01-28 03:43:48 +01:00
Christopher Jeffrey 436c81204f include our own emitKeypressEvents. fixes #92. 2015-01-16 11:56:19 -08:00
Dan Kaplun 4fcfdbaff3 Fixes scroll wheel support with modifiers for GNOME Terminal 2014-05-18 02:59:02 -05:00
Christopher Jeffrey b5026af628 always default to windows-ansi on windows. minor refactor. 2013-08-29 18:22:35 -05:00
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