Commit Graph

887 Commits

Author SHA1 Message Date
Christopher Jeffrey 82d4355517 reduce color in program._attr. 2015-07-22 08:32:22 -07:00
Christopher Jeffrey e506412f93 rename program.list. 2015-07-22 08:07:52 -07:00
Christopher Jeffrey 797dcc2369 do not use nextTick to wait for flush. 2015-07-22 06:03:40 -07:00
Christopher Jeffrey da59a32ac5 fix iteration through programs on events. see #157. 2015-07-22 05:52:32 -07:00
Christopher Jeffrey e35811ae97 allow multiple programs to use the same streams correctly. see #157. 2015-07-22 05:45:26 -07:00
Christopher Jeffrey 5e31eb1370 add padding to warning window. 2015-07-22 05:35:17 -07:00
Christopher Jeffrey 989157dcce fix alignment when width is shrunken. 2015-07-22 05:08:05 -07:00
Christopher Jeffrey f026de2e52 make _twrite() wait for the first bytes to be output. 2015-07-22 05:04:24 -07:00
Christopher Jeffrey bb83be4b47 fix padding for labels. 2015-07-22 04:38:27 -07:00
Christopher Jeffrey 600cb85909 fix regression from fix for #152. 2015-07-22 02:46:30 -07:00
Christopher Jeffrey 672efc5a3f Revert "fix: ListTable without borders. fixes #152."
This reverts commit 89f54e3be4.
2015-07-22 02:31:45 -07:00
Christopher Jeffrey d64e5f04ff improve window title grabbing. 2015-07-21 21:27:16 -07:00
Christopher Jeffrey 797feb6ab1 refactor listen. 2015-07-21 20:11:20 -07:00
Christopher Jeffrey 2072968e03 refactor title reset. 2015-07-21 20:06:50 -07:00
Christopher Jeffrey 0cf4934ac1 refactor listen input and listen output into separate methods. 2015-07-21 20:03:26 -07:00
Christopher Jeffrey f0556b500b fix transparency when used with valign. 2015-07-21 19:12:54 -07:00
Christopher Jeffrey 1e57352eee add warnings for no isatty(), and bad terminfo. 2015-07-21 19:10:46 -07:00
Christopher Jeffrey c488c08501 prevent memory leaks when using multiple screens. see #157. 2015-07-21 19:02:08 -07:00
Christopher Jeffrey 44017d988b more tmux 2.0 workarounds. 2015-07-20 04:02:43 -07:00
Christopher Jeffrey f7c1ba52a3 fix implicit global. 2015-07-19 05:26:25 -07:00
Christopher Jeffrey 6d163377ff improve version check. 2015-07-19 05:20:11 -07:00
Christopher Jeffrey 415b35e7ee fix tmux passthrough. 2015-07-19 05:02:26 -07:00
Christopher Jeffrey 940bf564a4 refactor: rename "isTMUX". 2015-07-19 03:59:40 -07:00
Christopher Jeffrey 9cdba8979a no tmux checking code seems necessary. see #145. 2015-07-19 03:41:22 -07:00
Christopher Jeffrey c766a2dc5c panes do not seem to matter. tmux still handles this. see #145. 2015-07-19 03:23:35 -07:00
Christopher Jeffrey abf7ab2409 tmux "all motion" workaround. see #145. 2015-07-19 03:20:38 -07:00
Christopher Jeffrey 2b21fcd164 rename `itype` to `type`. 2015-07-18 14:40:51 -07:00
Christopher Jeffrey 72ddc05fd1 allow appending of listbar items while detached. fixes #148. 2015-07-17 18:52:07 -07:00
Christopher Jeffrey b9005e6bfe minor fixes for ANSIImage. 2015-07-17 03:17:59 -07:00
Christopher Jeffrey 97d72926a5 minor: whitespace. 2015-07-17 03:14:45 -07:00
Christopher Jeffrey 4fa34aa538 add widget name aliases. 2015-07-17 03:11:21 -07:00
Christopher Jeffrey 89debe2577 add more ansii image methods for animation. fix test. 2015-07-17 03:06:33 -07:00
Christopher Jeffrey 78fad856b6 fix w3m image test. 2015-07-16 20:04:03 -07:00
Christopher Jeffrey 81082488f9 add ansiimage and overlay image. fixes #153. 2015-07-16 03:19:45 -07:00
Christopher Jeffrey b53835c147 allow additions to ListBar while it is detached. see #148. 2015-07-16 01:03:11 -07:00
Christopher Jeffrey 89f54e3be4 fix: ListTable without borders. fixes #152. 2015-07-16 00:50:05 -07:00
Christopher Jeffrey ffb657ba1b minor fix. refactor. 2015-07-14 16:24:06 -07:00
Christopher Jeffrey abdd0a8c89 rename - work. 2015-07-13 12:56:42 -07:00
Christopher Jeffrey aa9a85be9d whitespace 2015-07-12 03:15:13 -07:00
Christopher Jeffrey 2b1203bb3a add BigText element. fix video args. 2015-07-12 03:12:40 -07:00
Christopher Jeffrey de02802bf0 refactor/rename w3mimage.js 2015-07-11 15:19:15 -07:00
Christopher Jeffrey ff39185773 reorganize readme. 2015-07-11 15:08:01 -07:00
Christopher Jeffrey e638d21dc3 separating image into w3mimage and png elements. 2015-07-11 15:01:46 -07:00
Christopher Jeffrey baf6d2858a add experimental video widget. fix 16 colors in _attr. 2015-07-11 14:28:04 -07:00
Christopher Jeffrey f8ac8a540c term name 2015-07-06 04:10:56 -07:00
Christopher Jeffrey ab8e309268 fix listtable resize clearing. fixes #150. 2015-07-04 03:33:42 -07:00
Christopher Jeffrey 77bd73b4c8 add sendFocus option. see #149. 2015-07-04 03:30:49 -07:00
Christopher Jeffrey c473cc527f update tng 2015-06-29 22:17:43 -07:00
Christopher Jeffrey 2842f3f6ce add PNG/ANSIImage element. 2015-06-28 22:55:42 -07:00
Christopher Jeffrey 305aa063d4 move blending to colors.js. 2015-06-27 17:39:04 -07:00
Christopher Jeffrey 9f1552c687 fix {|} separator in the presence of alignments. fixes #146. 2015-06-27 03:06:08 -07:00
Christopher Jeffrey 36d94d41a6 fix cellMotion for tmux. fix mousemove check for VTE. fixes #125. 2015-06-23 18:02:05 -07:00
Christopher Jeffrey f3f4233a7a fix unnecessary onScreenEvent change. fixes #142. 2015-06-19 17:59:06 -07:00
Christopher Jeffrey 8228142060 allow any kind of stream as input and output. fixes #138. 2015-06-09 05:13:11 -07:00
Christopher Jeffrey 983b5a745a fix some helper functions. 2015-06-03 01:08:49 -07:00
Christopher Jeffrey c7252ea86f account for ena_acs. fix for tmux 2.0. see #137. 2015-05-21 15:58:00 -07:00
Christopher Jeffrey f0b7204af0 fix for tmux 2.0. closes #137. 2015-05-20 18:59:39 -07:00
Christopher Jeffrey d36b90ce40 removeLabel: remove listeners before detaching. 2015-05-07 18:54:07 -07:00
Christopher Jeffrey da1ff18493 fix label reposition. fixes #134. 2015-05-07 18:53:06 -07:00
Christopher Jeffrey e214141ccb add a distinct `grid` and `inline` layout. see #23. 2015-05-07 17:25:23 -07:00
Christopher Jeffrey f89e6661f3 fix list.removeItem. add list.insertItem, list.setItem. fixes #18. 2015-05-06 17:39:49 -07:00
Christopher Jeffrey b21e535391 add a customizable Layout element. see #23. 2015-05-06 13:00:57 -07:00
Christopher Jeffrey 583fa4f6f7 more refactoring of lib/blessed. 2015-05-05 23:59:50 -07:00
Christopher Jeffrey 8d11075b89 improve lib/blessed.js 2015-05-05 23:22:40 -07:00
Christopher Jeffrey 5eddd2aed2 whitespace. comments. 2015-05-05 23:10:18 -07:00
Christopher Jeffrey a4d56fb819 refactor: split widgets up. fixes #133. 2015-05-05 21:44:38 -07:00
Christopher Jeffrey 99f9d622e6 minor fix for sync image rendering. 2015-05-05 19:17:16 -07:00
Christopher Jeffrey 9260848868 add synchronous setImage for Image elements. 2015-05-02 03:01:42 -07:00
Christopher Jeffrey e6c763a73c use onScreenEvent for element keys to prevent memory leaks. 2015-05-01 22:43:31 -07:00
Christopher Jeffrey 1044a88e58 allow custom draggable checks. 2015-05-01 22:14:49 -07:00
Christopher Jeffrey 3205dd289d fix onScreenEvent listeners. 2015-05-01 22:04:26 -07:00
Christopher Jeffrey 245b3f44b1 experimental angle improvement. 2015-05-01 21:59:09 -07:00
Christopher Jeffrey c435b03bdc use onScreenEvent to prevent memory leaks. 2015-05-01 21:58:26 -07:00
Christopher Jeffrey de4aa27d70 make terminals focusable. set elements being dragged to front of z-index. terminal multiplexer. 2015-05-01 21:24:45 -07:00
Christopher Jeffrey b5341b8b81 add ignoreDockContrast option. 2015-05-01 21:09:40 -07:00
Christopher Jeffrey 0ea19cacad fix off-screen coords. fix draggable. 2015-05-01 20:55:13 -07:00
Christopher Jeffrey f26ae44d84 fix fillRegion/clearRegion. 2015-05-01 18:20:16 -07:00
Christopher Jeffrey 69b3d144c4 widget-unicode test. 2015-05-01 18:07:15 -07:00
Christopher Jeffrey ba4108445a avoid wrapping shortfall due to surrogate pairs. 2015-05-01 17:44:49 -07:00
Christopher Jeffrey b6c512925f fix shift+G. potentially use getScrollHeight for more things. 2015-05-01 16:44:10 -07:00
Christopher Jeffrey 0b5b04c739 bright grey == regular white. 2015-05-01 01:29:37 -07:00
Christopher Jeffrey 0506f5fea2 bright and grey color names. 2015-05-01 01:27:11 -07:00
Christopher Jeffrey e2faf2300e windows commands. 2015-05-01 01:02:26 -07:00
Christopher Jeffrey b0daa72a72 comment. 2015-05-01 00:57:40 -07:00
Christopher Jeffrey d2586089c8 reorganize more code. 2015-05-01 00:47:39 -07:00
Christopher Jeffrey 0b6fceec23 refactor blend. 2015-05-01 00:40:12 -07:00
Christopher Jeffrey f5f2b71562 refactor helpers. 2015-05-01 00:33:34 -07:00
Christopher Jeffrey 3e8083d5a1 more refactoring of helpers. 2015-05-01 00:32:44 -07:00
Christopher Jeffrey 8eb57e919e refactor: move helpers around. 2015-05-01 00:27:33 -07:00
Christopher Jeffrey 797d8de45f handle unicode and tags better in tables and textareas. 2015-04-30 23:51:45 -07:00
Christopher Jeffrey 23567a75ab improve charWidth and strWidth. 2015-04-30 23:09:09 -07:00
Christopher Jeffrey 4ff2c992d5 fix overlapping draggable elements. 2015-04-30 09:48:50 -07:00
Christopher Jeffrey d1bfdd5a31 only allow scrollbar usage with mouse if `mouse` option is set. 2015-04-30 09:41:07 -07:00
Christopher Jeffrey bcf9b630bb mouse interactive scrollbar. 2015-04-29 12:43:58 -07:00
Christopher Jeffrey 023e6be4e5 another hover fix. 2015-04-27 23:57:08 -07:00
Christopher Jeffrey a5bfa4397a clean and fix hover code. 2015-04-27 23:55:49 -07:00
Christopher Jeffrey 5468509778 optimize hover text. 2015-04-27 21:24:58 -07:00
Christopher Jeffrey 36c726006f add more events to lists. 2015-04-27 16:59:45 -07:00
Christopher Jeffrey b241e1a4df do not render combining chars on iTerm2.
see: 2eb57cc725
2015-04-27 15:07:23 -07:00
Christopher Jeffrey 46e9c52030 cursor position in textarea. 2015-04-27 15:04:33 -07:00