Christopher Jeffrey
6ed2451e36
listbar work.
2014-01-11 18:23:38 -06:00
Christopher Jeffrey
045f8d6dc1
lots of work for different widgets.
2014-01-11 17:26:36 -06:00
Christopher Jeffrey
5b38ebfefd
fix problem with textarea borders and cursors.
2014-01-05 01:01:21 -06:00
Christopher Jeffrey
e4de476c7f
fix double line feed problem in textboxes.
2014-01-04 16:02:10 -06:00
Christopher Jeffrey
e3baaa9236
Revert "lazy loading for modules."
...
This reverts commit 999b47a71c58f0d327462067d126b592adce10eb.
2014-01-01 22:47:29 -06:00
Christopher Jeffrey
636bb45965
lazy loading for modules.
2014-01-01 22:47:29 -06:00
Christopher Jeffrey
c73a6c47b9
expose screen.enter and screen.leave. fixes #29 .
2014-01-01 22:47:29 -06:00
Christopher Jeffrey
42291fad3b
Merge pull request #22 from naggie/master
...
add var self = this to progress bar
2014-01-01 19:54:56 -08:00
Christopher Jeffrey
6a393f5a32
fix spacing in tput.js.
2013-12-04 06:34:17 -06:00
Christopher Jeffrey
1451077f12
use bch properly.
2013-10-16 06:51:14 -05:00
Christopher Jeffrey
c8116f6569
fix clock centering.
2013-10-16 06:46:02 -05:00
Christopher Jeffrey
c5d2c45f19
readEditor error handling.
2013-09-14 00:02:00 -05:00
Callan Bryant
4d0ed49bac
add var self = this to progress bar
...
Fixes crash when using progress bar:
ReferenceError: self is not defined
at ProgressBar.<anonymous>
(/home/cbryant/bl/node_modules/blessed/lib/widget.js:4862:11)
...
v
2013-09-11 12:22:08 +01:00
Christopher Jeffrey
353794224c
stop using termcap aliases.
2013-08-29 21:55:36 -05:00
Christopher Jeffrey
b5026af628
always default to windows-ansi on windows. minor refactor.
2013-08-29 18:22:35 -05:00
Christopher Jeffrey
a14650860d
fix terminfo operators. fixes #19 .
2013-08-29 17:47:14 -05:00
Christopher Jeffrey
97b6d6faee
cleanup _prefix and readTermcap.
2013-08-29 17:41:19 -05:00
Christopher Jeffrey
a1c91ccb99
cleanup.
2013-08-28 23:49:25 -05:00
Christopher Jeffrey
4b1365bccc
always have list item selected.
2013-08-27 11:10:09 -05:00
Christopher Jeffrey
1625046d9c
filemanager label. do not hook remove() from List.
2013-08-27 10:25:20 -05:00
Christopher Jeffrey
f8c2ebef1d
assume screen.tput is present.
2013-08-27 09:04:00 -05:00
Christopher Jeffrey
00ee15a32f
better terminfo/cap discovery. fixes #17 .
2013-08-24 22:31:33 -05:00
Christopher Jeffrey
38f234aa91
add getScrollHeight. fixes #16 .
2013-08-20 13:34:18 -05:00
Christopher Jeffrey
0eaff0bb07
fix enter key workaround. minor. typo.
2013-08-18 15:02:35 -05:00
Christopher Jeffrey
18d97ce0d7
fix calls to clearPos in render hooks.
2013-08-15 07:14:56 -05:00
Christopher Jeffrey
65fd7d2529
fix shrink rendering bug.
2013-08-15 06:42:08 -05:00
Christopher Jeffrey
34e451bbfa
minor fix. potential fixes.
2013-08-13 13:09:24 -05:00
Christopher Jeffrey
2953a469da
do not scroll if detached. fixes #8 .
2013-08-13 13:01:31 -05:00
Christopher Jeffrey
8460e1c8a0
possibly fix max autoPadding height+border problem
...
An element with a border has a child with no height or width properties, but a
left and top of 0: this causes the child elements background to cover the
bottom and right borders. It doesn't have a `position.right`, but `iright`
still needs to be subtracted.
2013-08-13 11:56:30 -05:00
Christopher Jeffrey
214ad84a66
add setIndex method. see #9 .
2013-08-13 11:44:04 -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
6f9ae457e4
add button.value. add simple form example.
2013-08-13 10:54:17 -05:00
Christopher Jeffrey
185a05d759
rename bgChar.
2013-08-12 09:07:19 -05:00
Christopher Jeffrey
4b6cf96030
Merge pull request #12 from johnspackman/element-bg-char
...
Added a background fill character to Element
2013-08-12 06:50:19 -07:00
John Spackman
ffd98d0f8e
Added a background fill character to Element
...
This is used to fill the background of the element, EG for text area I
typically set this to '_' to show the extent of the field
2013-08-12 14:45:01 +01:00
Christopher Jeffrey
7b3557262f
check TERMINFO_DIRS correctly.
2013-08-11 23:13:28 -05:00
Christopher Jeffrey
980e65bd2c
try hex char representations for terminfo subdirectory. see #2 .
2013-08-11 23:04:00 -05:00
Christopher Jeffrey
a30d3ecbe8
switch back to old acs.
2013-08-10 15:48:27 -05:00
Christopher Jeffrey
66dc2118e7
add fastCSR option.
2013-08-10 10:02:29 -05:00
Christopher Jeffrey
fc92dca39c
remove old acs code.
2013-08-10 09:34:37 -05:00
Christopher Jeffrey
2ba6dcc2b8
acs work. potential wide char support.
2013-08-10 09:33:41 -05:00
Christopher Jeffrey
8c558dbf3f
fix clearPos and clickable/keyable check on removal. fixes #6 .
2013-08-08 13:47:59 -05:00
Christopher Jeffrey
94bdb41dd1
fix readme. improve tput._print. refactor test/tput.js.
2013-08-08 06:19:44 -05:00
Christopher Jeffrey
45f8f0e5bb
add getScroll method.
2013-08-06 01:06:33 -05:00
Christopher Jeffrey
16bbb5ea24
allow zero-width elements. enforce minimums for shrink.
2013-08-04 09:20:50 -05:00
Christopher Jeffrey
6cb640c0e5
remove non-printable chars from comment.
2013-08-04 08:46:26 -05:00
Christopher Jeffrey
abd89d3aee
minor: fix indexOf call.
2013-08-04 08:40:53 -05:00
Christopher Jeffrey
4ad7d90c9d
mark acs as broken if the terminal uses the pc alt charset as acs.
2013-08-04 08:36:51 -05:00
Christopher Jeffrey
c05beb3059
setup method. use path.sep wherever possible. misc.
2013-08-04 08:13:01 -05:00