Commit Graph

873 Commits

Author SHA1 Message Date
Christopher Jeffrey a8b1764ec6 padding warning. 2015-08-06 01:50:17 -07:00
Christopher Jeffrey 216aaf1f48 fix NO_PADDING detection. 2015-08-06 00:35:22 -07:00
Christopher Jeffrey 0547509481 add a small Tput.print helper function. 2015-08-06 00:13:03 -07:00
Christopher Jeffrey 45b180174f disable * padding for now. 2015-08-06 00:03:59 -07:00
Christopher Jeffrey 64072411bb fix setTerminal. add termswitch test. 2015-08-05 23:54:48 -07:00
Christopher Jeffrey 9b5673edf7 automatically call setTerminal on `terminal` setter. 2015-08-05 23:30:07 -07:00
Christopher Jeffrey 3df75398a0 improve screen.setTerminal. 2015-08-05 21:27:08 -07:00
Christopher Jeffrey 210c33d076 add setTerminal(). use `terminal` option always for consistency. 2015-08-05 20:58:20 -07:00
Christopher Jeffrey 72586faef9 fix bigtext. whitespace. 2015-08-05 18:52:31 -07:00
Christopher Jeffrey e6a5b0cac9 lazily load Screen in helpers.js. fixes #164. 2015-08-05 17:59:18 -07:00
Christopher Jeffrey 54430504d1 refactor screen finding. 2015-08-05 07:49:17 -07:00
Christopher Jeffrey 730dd59b39 set screen when appending a node. 2015-08-05 07:28:02 -07:00
Christopher Jeffrey b068a8d036 cleanup. 2015-08-05 05:06:07 -07:00
Christopher Jeffrey 0d86165122 ensure screen and program globals are reset. 2015-08-05 05:02:37 -07:00
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