Christopher Jeffrey
ba3f0e0815
Merge pull request #54 from bulkan/feature/list-search
...
Run a `search` function in vi mode for List's
2014-06-05 01:13:41 -05:00
Christopher Jeffrey
31e9e9c0c6
add setLabel and removeLabel.
2014-06-02 07:53:58 -05:00
Christopher Jeffrey
09ec03058e
fix typo in shrink calculation.
2014-06-01 23:56:32 -05:00
Christopher Jeffrey
8f6381ddf5
fix shrink calculcation in edge cases.
2014-06-01 23:55:27 -05:00
Christopher Jeffrey
bd92e3bf4f
add selectTab and enterSelected methods.
2014-06-01 23:43:02 -05:00
Christopher Jeffrey
12d6318d39
reset index of list.pick().
2014-06-01 21:29:16 -05:00
Christopher Jeffrey
083a4901bd
add ignoreKyes option to Message.
2014-06-01 20:38:36 -05:00
Dan Kaplun
2aabb8ddff
Fixes clicking when mousedown element != mouseup element
2014-05-30 08:32:19 -05:00
Christopher Jeffrey
41994632cf
fix: check detached state in .visible. fixes #58 .
2014-05-16 18:51:33 -05:00
Bulkan Evcimen
d498c0b7a1
Added a new function to do a regexp match on ritems
2014-05-07 21:55:53 +10:00
Bulkan Evcimen
7df11051e6
Search for a List item based on its string
...
If the List has vi mode enabled and a `search` function is set on the options
property then hitting `/` will call this function passing in a callback.
The search function will need to call the callback with the search string
2014-05-07 07:40:19 +10:00
Christopher Jeffrey
b19af4deb7
another method of adding an escape tag.
2014-04-26 06:47:41 -05:00
Christopher Jeffrey
eb4090e257
Revert "add cdata-like tag."
...
This reverts commit bef9c09598
.
2014-04-26 06:40:30 -05:00
Christopher Jeffrey
bef9c09598
add cdata-like tag.
2014-04-26 06:39:45 -05:00
Christopher Jeffrey
4bc910bd5b
add escape function for tag text.
2014-04-26 06:06:03 -05:00
Christopher Jeffrey
c0f85b2567
fix cut-off tags when wrapping is disabled. fixes #50 .
2014-04-26 05:12:39 -05:00
Christopher Jeffrey
44256dcf70
add getItem and getItemIndex for List.
2014-04-26 01:05:25 -05:00
Christopher Jeffrey
fe08f9e819
add List.clearItems method. fixes #40 .
2014-04-26 00:55:43 -05:00
Christopher Jeffrey
9a9611636a
simple way of escaping curly braces in tags for now. fixes #51 .
2014-04-26 00:38:17 -05:00
Christopher Jeffrey
8ccc3dbc49
Revert "another way of escape curly braces in tags. see #51."
...
This reverts commit 434bddcfc7
.
2014-04-26 00:33:05 -05:00
Christopher Jeffrey
434bddcfc7
another way of escape curly braces in tags. see #51 .
2014-04-26 00:31:04 -05:00
Christopher Jeffrey
1a4506195c
Revert "escaping curly braces in tags. see #51."
...
This reverts commit 7bfd309e1a
.
2014-04-26 00:23:42 -05:00
Christopher Jeffrey
7bfd309e1a
escaping curly braces in tags. see #51 .
2014-04-26 00:22:25 -05:00
Christopher Jeffrey
9814f832fb
Revert "possibly a better fix for form focusing. see #38."
...
This reverts commit 7965ee581c
.
2014-03-30 03:56:38 -05:00
Christopher Jeffrey
7965ee581c
possibly a better fix for form focusing. see #38 .
2014-03-30 03:55:56 -05:00
Christopher Jeffrey
d624fe0c45
fix call stack overflow on form focusing. fixes #38 .
2014-03-30 03:51:54 -05:00
Christopher Jeffrey
1bdba0dad0
potentially fix acs handling again: utf8 fallback on brokenACS.
2014-03-18 01:26:16 -05:00
Christopher Jeffrey
dc6f6ade41
fix acs handling with screen when LANG != utf8.
2014-03-18 01:24:49 -05:00
Sean Massa
16ff30a788
fix setIndex to include last item
2014-03-13 22:07:50 -05:00
Christopher Jeffrey
075ca1049a
fix setItems keeping references to original arrays.
2014-01-25 16:31:15 -06:00
Christopher Jeffrey
6777957ff2
improve reselection list updates.
2014-01-19 01:22:28 -06:00
Christopher Jeffrey
8384a185a6
fix generateTags.
2014-01-17 19:54:59 -06:00
Christopher Jeffrey
1236f23f9e
form methods.
2014-01-16 23:54:19 -06:00
Christopher Jeffrey
9673eaf517
form: do not focus invisible elements.
2014-01-16 18:08:59 -06:00
Christopher Jeffrey
03e4d0d52b
add item to ritems on appendItem.
2014-01-16 15:02:04 -06:00
Christopher Jeffrey
eae9fb5fbd
form work.
2014-01-13 12:38:50 -06:00
Christopher Jeffrey
c218df7350
getLines and getScreenLines, handle detaching/reattaching widgets.
2014-01-13 10:25:31 -06:00
Christopher Jeffrey
445d9f4065
question improvement.
2014-01-12 10:40:18 -06:00
Christopher Jeffrey
491731f1d7
catch error. get rid of picklist.
2014-01-12 08:58:35 -06:00
Christopher Jeffrey
c0b3115fb3
add tests.
2014-01-12 06:19:54 -06:00
Christopher Jeffrey
0228b28cc4
potentially fix shrunken + scrollable elements.
2014-01-12 06:12:13 -06:00
Christopher Jeffrey
6a959074a4
multiple fixes/improvements.
2014-01-12 05:08:16 -06:00
Christopher Jeffrey
4cebb15918
key->prefix for listbar. misc.
2014-01-11 21:07:14 -06:00
Christopher Jeffrey
6fd0527c07
listbar cleanup.
2014-01-11 20:59:11 -06:00
Christopher Jeffrey
5930dab630
listbar scrolling work.
2014-01-11 20:47:40 -06:00
Christopher Jeffrey
2c337bb572
minor listbar work.
2014-01-11 19:32:43 -06:00
Christopher Jeffrey
401b1a61cd
listbar rendering.
2014-01-11 19:28:14 -06:00
Christopher Jeffrey
2b33e34d3a
even more listbar work.
2014-01-11 18:54:26 -06:00
Christopher Jeffrey
66933f63b6
remove old listbar.setItems.
2014-01-11 18:24:11 -06:00
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
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
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
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
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
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
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
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
8ebbbbac65
add setText and getText methods. expose element and node.
2013-08-04 04:59:28 -05:00
Christopher Jeffrey
dadf185a87
cleanup mouse handler. improve "visible" getter.
2013-08-04 04:38:29 -05:00
Christopher Jeffrey
17c4cb1e2a
minor changes and cleanup.
2013-08-04 01:21:48 -05:00
Christopher Jeffrey
b5c7aed3ad
clean up old code.
2013-08-04 01:21:48 -05:00
mscdex
a1616aec0a
Better Windows support
2013-08-02 21:59:49 -04: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
52a9f5d182
fix scroll rendering for children with padding.
2013-08-01 20:00:24 -05:00
Christopher Jeffrey
c4a7f05025
obscure overlapping sides in scrolling elements.
2013-08-01 04:19:58 -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
b2666ffecb
add event bubbling.
2013-08-01 01:02:16 -05:00
Christopher Jeffrey
0e047b8e51
minor fixes.
2013-07-31 19:21:10 -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
2e58aed1ea
refactor position and new padding code.
2013-07-30 23:57:48 -05:00
Christopher Jeffrey
78a3726f2f
add auto-positioning which respects padding and borders.
2013-07-30 23:46:07 -05:00
Christopher Jeffrey
ac88ceaebe
remove radio-button handling from checkbox.
2013-07-29 19:27:15 -05:00
Christopher Jeffrey
81267dbd2a
move el._focus to screen._focus.
2013-07-29 17:40:48 -05:00
Christopher Jeffrey
af27e80447
fix readme typo.
2013-07-29 17:35:48 -05:00