Commit Graph

909 Commits

Author SHA1 Message Date
Christopher Jeffrey 8007aa8ee7 automatically find screen if we are using multiple. 2015-08-05 05:00:14 -07:00
Christopher Jeffrey a9fb228f23 add program.index. 2015-08-05 04:39:48 -07:00
Christopher Jeffrey 7351c8a716 set screen.index. 2015-08-05 04:34:18 -07:00
Christopher Jeffrey 86fb0582cc do not default to program.global. 2015-08-05 03:49:41 -07:00
Christopher Jeffrey ee31799e7f use _owrite instead of output.write. 2015-08-05 03:27:24 -07:00
Christopher Jeffrey af2a42423b remove backward compat tty helpers. 2015-07-31 00:09:46 -07:00
Christopher Jeffrey b4fb673943 Revert "support node v0.6.x."
This reverts commit ce59050ded.
2015-07-31 00:09:01 -07:00
Christopher Jeffrey ce59050ded support node v0.6.x. 2015-07-30 23:54:24 -07:00
Christopher Jeffrey be8ad38e6c check for setRawMode on spawn(). 2015-07-30 23:43:47 -07:00
Christopher Jeffrey bdb3f098ca improve backward compat with node <=0.6.0. 2015-07-30 23:41:20 -07:00
Christopher Jeffrey 103ce24787 helpers to potentially support node <=0.6.0. 2015-07-30 23:07:23 -07:00
Christopher Jeffrey b0d0063b1c support node <=0.8.0. 2015-07-30 22:55:05 -07:00
Christopher Jeffrey 3ff6c4e5fb fix property name collision if input/output is a socket. 2015-07-30 18:17:58 -07:00
Christopher Jeffrey fe1f470995 allow focusing of detached children still. 2015-07-30 17:58:30 -07:00
Christopher Jeffrey 22469380e2 fix focus error. fix table setData error. fixes #160. 2015-07-30 17:55:40 -07:00
Christopher Jeffrey dc95fc6e3c fix terminal element clearing. 2015-07-30 05:08:04 -07:00
Christopher Jeffrey f8fd4253f2 remove listeners property on screen.destroy and program.destroy. fix ignoreLocked. 2015-07-29 21:28:36 -07:00
Christopher Jeffrey debbc864e4 handle destroy methods better: stop all polling on the event loop. 2015-07-29 19:20:53 -07:00
Christopher Jeffrey 6e409f2789 add forceUnicode option. see #158. 2015-07-28 03:53:13 -07:00
Christopher Jeffrey 0f655de980 terminal: minor fix for clear screen. 2015-07-28 03:05:14 -07:00
Christopher Jeffrey 852d780990 fix: set table cell border lines to dirty before rendering. 2015-07-28 02:43:29 -07:00
Christopher Jeffrey ffb611e383 minor fix for dockable borders. 2015-07-23 02:00:17 -07:00
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