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
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
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
c746cd7197
v0.0.20
2013-08-04 01:29:54 -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
b7fa80cc2e
fix uncaught error throwing.
2013-08-02 12:47:22 -05: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
33214ee924
cleanup new dump method.
2013-07-29 19:06:22 -05:00
Christopher Jeffrey
b7e7a8264b
better dumps.
2013-07-29 19:00:31 -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
Christopher Jeffrey
82322ac017
allow border option to be a string.
2013-07-29 17:22:21 -05:00
Christopher Jeffrey
1a4c0cd761
fix mwidth for elements with no content.
2013-07-29 16:49:44 -05:00
Christopher Jeffrey
36415f76b6
fix textbox/textarea.
2013-07-29 16:38:19 -05:00
Christopher Jeffrey
d2226c3295
improve focus. fix getCoords. readme.
2013-07-29 15:49:09 -05:00
Christopher Jeffrey
a3e2983b4b
fix form errors.
2013-07-29 10:40:59 -05:00
Christopher Jeffrey
6a03ad42ff
textbox. progressbar. misc. readme.
2013-07-29 09:14:03 -05:00
Christopher Jeffrey
2dfedf5e47
enable textbox input-on-focus.
2013-07-29 04:23:52 -05:00
Christopher Jeffrey
9b77e3df63
fix setEffects and failed fg/bg 256 color sequences.
2013-07-29 04:22:20 -05:00
Christopher Jeffrey
9a1411338c
fix small error.
2013-07-28 14:49:01 -05:00
Christopher Jeffrey
3bcbd9b39f
enable new parseTags method. clean up old code.
2013-07-28 14:18:28 -05:00
Christopher Jeffrey
084f28fcff
content attribute and tag handling.
...
- handle content attributes with better respect to element's style.
- add a more sophisticated tag parser.
2013-07-28 13:20:52 -05:00
Christopher Jeffrey
927c40d2f3
fix mwidth. minor.
2013-07-28 10:51:43 -05:00
Christopher Jeffrey
f8fbb2a0c8
remove dwidth characters for now.
2013-07-28 10:19:04 -05:00
Christopher Jeffrey
f236898f73
optimize shrink width.
2013-07-28 10:02:04 -05:00
Christopher Jeffrey
9cc1f53d9a
refactor wrapContent.
2013-07-28 09:43:28 -05:00
Christopher Jeffrey
88da43bfaf
fix empty lines in wrapContent.
2013-07-28 09:24:08 -05:00
Christopher Jeffrey
a82ad19110
fixed only affects one level of scrollable ancestors.
2013-07-28 03:01:09 -05:00
Christopher Jeffrey
38473b6bfa
comments. enable csr for elements with scrollbars.
2013-07-27 08:13:29 -05:00
Christopher Jeffrey
d9ca7112bc
scrollbar track.
2013-07-27 07:34:32 -05:00
Christopher Jeffrey
80ae319225
back_color_erase comments.
2013-07-27 06:53:09 -05:00
Christopher Jeffrey
8f989eeadd
fix scrollbar arithmetic.
2013-07-27 06:52:45 -05:00
Christopher Jeffrey
69f5993735
make new scrollable code compatible with get=false. add fixed option.
2013-07-27 05:37:53 -05:00
Christopher Jeffrey
2dc3146d1f
cleanup scroll.
2013-07-27 05:19:32 -05:00
Christopher Jeffrey
ee71a1ac61
more scroll work.
2013-07-27 05:14:02 -05:00
Christopher Jeffrey
d63762fbe8
tput.js fixes.
2013-07-27 05:13:04 -05:00
Christopher Jeffrey
efbae0c203
cleanup scroll code.
2013-07-26 01:45:39 -05:00
Christopher Jeffrey
8ea1fe4dab
working nested scrolling.
2013-07-26 01:38:25 -05:00
Christopher Jeffrey
ea857ea550
fix nested scrollable elements.
2013-07-25 18:09:00 -05:00
Christopher Jeffrey
19dd8a47d0
fix scrolling obfuscation for elements with borders.
2013-07-25 01:20:47 -05:00
Christopher Jeffrey
25133923e3
allow text to be obfuscated within child elements during a scroll.
2013-07-24 22:47:03 -05:00
Christopher Jeffrey
11d7a98303
make textbox inherit from textarea.
2013-07-24 20:41:11 -05:00
Christopher Jeffrey
633b76cec5
more textbox/textarea refactoring.
2013-07-24 18:20:30 -05:00
Christopher Jeffrey
c1f17e866c
refactor textbox and textarea render/setValue.
2013-07-24 18:05:56 -05:00
Christopher Jeffrey
6fde3e3a38
misc fixes for radiobutton, textarea, textbox, checkbox.
2013-07-24 17:16:55 -05:00
Christopher Jeffrey
1c9d25780a
add a scrollable option.
2013-07-24 15:39:22 -05:00
Christopher Jeffrey
5e2f1061d1
misc - add a blessed.js file.
2013-07-24 14:41:02 -05:00
Christopher Jeffrey
1b5155cfae
refactor and clean up program.js.
2013-07-24 14:17:52 -05:00
Christopher Jeffrey
0372788f2d
add a buffering write function for program.
2013-07-24 13:23:35 -05:00
Christopher Jeffrey
2f7967031e
readme. move Box methods onto Element. add clearBaseLine and getContent.
2013-07-23 18:38:55 -05:00
Christopher Jeffrey
31030113cf
buffer everything - this prevents flickering on xterm and may improve terminal rendering speed.
2013-07-23 18:04:22 -05:00
Christopher Jeffrey
b6bee303a9
fix scroll obfuscation.
2013-07-23 16:57:30 -05:00
Christopher Jeffrey
9aaabacf68
fix initial setContent call. fix spawn() cursor handling.
2013-07-23 16:37:54 -05:00
Christopher Jeffrey
da49a89b28
refactor wrapContent. fix/use/improve getCoords(), scroll(), hide().
2013-07-23 15:40:53 -05:00
Christopher Jeffrey
76cc6d37e7
make text wrapping optional.
2013-07-23 14:43:14 -05:00
Christopher Jeffrey
f56d7386c6
more pre-wrap line handling improvements.
2013-07-23 14:37:44 -05:00
Christopher Jeffrey
36c5351fde
allow handling of pre-wrapped text for line methods.
2013-07-23 14:16:20 -05:00
Christopher Jeffrey
6bfb47632e
list.items fix. box line methods.
2013-07-23 13:31:05 -05:00
Christopher Jeffrey
b8f1241bca
fix scrolling glitch.
2013-07-23 10:38:54 -05:00
Christopher Jeffrey
73939984b4
misc scrollable positioning.
2013-07-23 09:38:30 -05:00
Christopher Jeffrey
add8aaa664
stop using the options object for positioning.
2013-07-23 07:04:52 -05:00
Christopher Jeffrey
11c6e7269f
matchColor and BCE tput check.
2013-07-23 06:34:40 -05:00
Christopher Jeffrey
77885514aa
go back to using arrays for out for now.
2013-07-23 03:29:37 -05:00
Christopher Jeffrey
8c4d70d1e1
fix BCE handling.
2013-07-23 03:07:57 -05:00
Christopher Jeffrey
8f936d00b7
tput.js refactor. rename variables.
2013-07-23 00:37:13 -05:00
Christopher Jeffrey
5e2ca90f04
more tput.js work, fixes. cleanup.
2013-07-23 00:25:04 -05:00
Christopher Jeffrey
fe9406aba1
more tput fixes/improvements/refactoring.
2013-07-22 22:28:01 -05:00
Christopher Jeffrey
e771fc9fc9
improvements to tput and colors.
2013-07-22 00:59:56 -05:00
Christopher Jeffrey
346e39b723
cleanup. improve BCE. remove old code.
2013-07-21 23:53:10 -05:00
Christopher Jeffrey
00e680d413
work on adding back_color_erase handling, acs optimization, and other stuff ncurses usually handles.
2013-07-21 21:05:35 -05:00
Christopher Jeffrey
de79656b04
rewrite scrolling system a bit.
2013-07-21 05:36:45 -05:00
Christopher Jeffrey
62ebd04231
move el.focus code elsewhere.
2013-07-21 02:12:35 -05:00
Christopher Jeffrey
a98bef4c90
more scrolling improvements. scrolling form.
2013-07-21 02:03:06 -05:00
Christopher Jeffrey
7af4dbaf1c
allow for left/top/right/bottom padding.
2013-07-19 03:14:36 -05:00
Christopher Jeffrey
e33838804b
scrollable elements.
2013-07-19 01:58:55 -05:00
Christopher Jeffrey
0f4b60314b
allow tabbing from textboxes in forms.
2013-07-18 22:49:06 -05:00
Christopher Jeffrey
df317bb472
improve position, attribute parsing. misc.
2013-07-18 22:27:18 -05:00
Christopher Jeffrey
3ae01237be
fix tput string concatenation.
2013-07-18 18:09:03 -05:00
Christopher Jeffrey
b8e0fafaeb
misc. options. refactor tests/bin.
2013-07-18 18:02:45 -05:00
Christopher Jeffrey
f03f51267b
only emit attach if the element was not previously attached.
2013-07-18 15:06:33 -05:00
Christopher Jeffrey
48c2bae2a0
do not violate 80 col limit.
2013-07-18 15:01:42 -05:00
Christopher Jeffrey
4333952081
fix recursion in Form object.
2013-07-18 14:33:00 -05:00
Christopher Jeffrey
61653e3f19
optimize terminfo compilation by using string concatenation instead of array.join.
2013-07-18 09:31:06 -05:00
Christopher Jeffrey
6141b383f1
add a getCoords() method.
2013-07-18 03:56:12 -05:00
Christopher Jeffrey
3c42a91fc5
add wrapContent to Element prototype.
2013-07-18 02:44:31 -05:00
Christopher Jeffrey
42351724d3
move wrapContent.
2013-07-18 02:37:18 -05:00
Christopher Jeffrey
fa2206bb0a
allow lowercase charset names.
2013-07-18 02:12:05 -05:00
Christopher Jeffrey
90c9484d8b
remove old response() code.
2013-07-18 02:01:33 -05:00
Christopher Jeffrey
b46d1161c5
refactor responses.
2013-07-18 01:51:08 -05:00
Christopher Jeffrey
7b7330ec5a
fix CHA, fix SU and SD.
2013-07-18 00:22:24 -05:00
Christopher Jeffrey
5c114b8b69
fixed shrunken centered nested elements.
2013-07-17 12:43:13 -05:00
Christopher Jeffrey
ab449a12e3
scrollbar and list attr fixes.
2013-07-17 12:01:54 -05:00
Christopher Jeffrey
e9f7d933bd
replace shrink padding code.
2013-07-17 05:44:58 -05:00
Christopher Jeffrey
8e81ef015b
refactor shrink.
2013-07-17 05:22:42 -05:00
Christopher Jeffrey
1ae6a19b35
refactor scrollbar. fix shrink comparisons.
2013-07-17 04:59:21 -05:00
Christopher Jeffrey
e13f0ce5d4
rename _lastPos to lpos.
2013-07-17 04:41:43 -05:00
Christopher Jeffrey
29cd1a376f
more Box.render refactoring. docs. misc.
2013-07-17 04:32:13 -05:00
Christopher Jeffrey
6f8ab54a4f
refactor. stop usign xi_, yi_.
2013-07-17 03:57:30 -05:00
Christopher Jeffrey
566b800a04
refactor shrink.
2013-07-17 03:52:21 -05:00
Christopher Jeffrey
8776ec2c2d
listbar and improve shrinkBox.
2013-07-17 03:20:37 -05:00
Christopher Jeffrey
70953689e2
allow style.hover and style.focus. no autofocus on buttons.
2013-07-17 01:55:08 -05:00
Christopher Jeffrey
c805b80209
do not set lastPos on render(true). remove old code.
2013-07-17 01:34:43 -05:00
Christopher Jeffrey
7981f8d749
add shrinkBox. add forms. add RadioSet. misc refactor.
2013-07-17 01:28:42 -05:00
Christopher Jeffrey
cac1924b14
docs. fix line. fix attr objects.
2013-07-16 22:28:56 -05:00
Christopher Jeffrey
1561bdef7d
add valign. simpler way of rendering padding bg.
2013-07-16 20:19:44 -05:00
Christopher Jeffrey
c8c0d1f269
have padding maintain background color.
2013-07-16 20:09:01 -05:00
Christopher Jeffrey
fbf08e1288
fix progress bar colors.
2013-07-16 19:23:39 -05:00
Christopher Jeffrey
8a32e87cd9
remove all cens() calls.
2013-07-16 19:13:16 -05:00
Christopher Jeffrey
aa9bd9da6a
permanently rename ascii->line for borders.
2013-07-16 19:07:46 -05:00
Christopher Jeffrey
9ed9764b74
fix ACS/UTF8. use style object. rename ascii to line.
2013-07-16 19:05:44 -05:00
Christopher Jeffrey
7074d0da91
more terminfo paths.
2013-07-16 15:57:12 -05:00
Christopher Jeffrey
445e278af0
check all terminfo/termcap paths/variables.
2013-07-16 15:13:17 -05:00
Christopher Jeffrey
7e238a470e
itemBg, style object, el.sattr.
2013-07-16 12:33:55 -05:00
Christopher Jeffrey
db365a2228
pass object in to attr functions.
2013-07-16 04:23:11 -05:00
Christopher Jeffrey
0aafeb2530
parseContent comment.
2013-07-16 03:50:42 -05:00
Christopher Jeffrey
28bd6ba3e4
fix textareas. 1 cell margin on content for textareas.
2013-07-16 01:57:07 -05:00
Christopher Jeffrey
c5d47187cf
comments for wrapContent.
2013-07-16 01:42:21 -05:00
Christopher Jeffrey
edc216fa37
allow attributes to be functions.
2013-07-16 01:06:00 -05:00
Christopher Jeffrey
b266f389e9
fix colors.
2013-07-16 00:18:31 -05:00
Christopher Jeffrey
3332e9d34e
hex colors in program. another wrapContent fix.
2013-07-15 19:35:36 -05:00
Christopher Jeffrey
87dc701b46
misc. docs.
2013-07-15 18:53:04 -05:00
Christopher Jeffrey
12e7eab68d
docs. key() fix. wrapContent() fix. box.{insert,delete}Line fix.
2013-07-15 17:50:27 -05:00
Christopher Jeffrey
bc99d7fc37
small refactor.
2013-07-15 13:15:41 -05:00
Christopher Jeffrey
97b442d3ec
misc high level widget fixes.
2013-07-15 05:00:26 -05:00
Christopher Jeffrey
211491409b
allow multiple lines for box insert/delete lines.
2013-07-15 04:40:44 -05:00
Christopher Jeffrey
51413c346e
docs. smartCSR option. minor fixes.
2013-07-15 04:31:09 -05:00
Christopher Jeffrey
158572ae38
fix max scroll lines number.
2013-07-14 23:37:36 -05:00
Christopher Jeffrey
4683b1d542
remove old prepend/append code.
2013-07-14 22:13:18 -05:00
Christopher Jeffrey
aa951c640f
use better cleanside detection algorithm. add insert method.
2013-07-14 22:11:48 -05:00
Christopher Jeffrey
4541fc5c50
minor change to alloc.
2013-07-14 12:21:14 -05:00
Christopher Jeffrey
caa21ee356
optimize alloc+clear. add a output dump option.
2013-07-14 12:08:03 -05:00
Christopher Jeffrey
c9c01e0805
refactor. comments.
2013-07-14 11:58:44 -05:00
Christopher Jeffrey
5ebfb4835f
fix and enable cleanSides.
2013-07-14 11:39:03 -05:00
Christopher Jeffrey
fd5bd89d56
check scrollable elements for "clean" sides for CSR rendering.
2013-07-14 11:26:19 -05:00
Christopher Jeffrey
95848bafa3
automatically optimize scrollable elements for csr and il/dl.
2013-07-14 11:07:48 -05:00
Christopher Jeffrey
6a44fd9a35
misc. add sigtstp method.
2013-07-14 10:16:19 -05:00
Christopher Jeffrey
990fb0d796
minor property rename.
2013-07-14 09:32:50 -05:00
Christopher Jeffrey
04b0adac56
fix padding implementation. tests.
2013-07-14 08:57:05 -05:00
Christopher Jeffrey
9db97cd61c
easier feature checking.
2013-07-14 08:37:57 -05:00
Christopher Jeffrey
0c6695d236
colors, line, and mouses fixes.
2013-07-14 08:05:42 -05:00
Christopher Jeffrey
965af859b0
make mouse coords zero indexed.
2013-07-14 07:35:00 -05:00
Christopher Jeffrey
2105eb3d5b
improve mouse enabling.
2013-07-14 07:16:33 -05:00
Christopher Jeffrey
155eac8677
potential cursor handling during render.
2013-07-14 07:02:59 -05:00
Christopher Jeffrey
d0f99be764
lazily convert colors. other misc color fixes.
2013-07-14 06:57:15 -05:00
Christopher Jeffrey
5753d7b6ab
better color reduction.
2013-07-14 06:43:17 -05:00
Christopher Jeffrey
d5f3874105
clean up old code.
2013-07-14 06:30:09 -05:00
Christopher Jeffrey
363bc44caa
fix terminfo if/else. detect features.
2013-07-14 06:24:04 -05:00
Christopher Jeffrey
342ed23b66
always enabled terminfo. prop rename.
2013-07-13 23:41:47 -05:00
Christopher Jeffrey
ccf3794be2
unicode detect. docs. device attr. focus/blur. smacs checks.
2013-07-13 23:38:43 -05:00
Christopher Jeffrey
8aa718c280
comment.
2013-07-13 21:03:03 -05:00
Christopher Jeffrey
b5be1f318d
remove unnecessary characters from SCLD.
2013-07-13 20:54:27 -05:00
Christopher Jeffrey
3c0582c304
first implementation of SCLD usage.
2013-07-13 20:47:29 -05:00
Christopher Jeffrey
fe39c786a6
higher level widgets.
2013-07-13 20:46:25 -05:00
Christopher Jeffrey
2b15290021
resize delay.
2013-07-12 21:51:24 -05:00
Christopher Jeffrey
95c527ff73
save cursor position before spawning process. fixes textareas.
2013-07-12 11:44:04 -05:00
Christopher Jeffrey
9fd97f0b03
small pick method improvement.
2013-07-12 11:30:32 -05:00
Christopher Jeffrey
932fe2b8f6
comment. docs.
2013-07-12 10:22:06 -05:00
Christopher Jeffrey
a801b47e28
improve mouse events by sorting by index.
2013-07-12 09:14:42 -05:00
Christopher Jeffrey
7414922a76
add filemanager widget. g keys.
2013-07-12 08:28:58 -05:00
Christopher Jeffrey
5dcb8f3200
action event. docs.
2013-07-12 05:39:22 -05:00
Christopher Jeffrey
97c582164b
keys. no mouse focus events.
2013-07-12 05:11:15 -05:00
Christopher Jeffrey
87a5188de9
docs. keys. misc.
2013-07-12 04:59:58 -05:00
Christopher Jeffrey
b92c0b7758
drop old insert/delete line methods.
2013-07-12 03:54:01 -05:00
Christopher Jeffrey
933b5442bd
insert, set, get, delete, clear lines.
2013-07-12 03:52:14 -05:00
Christopher Jeffrey
42399b17ab
setEffects. misc fixes.
2013-07-12 03:34:32 -05:00
Christopher Jeffrey
3ef2048289
omove. misc.
2013-07-12 01:13:29 -05:00
Christopher Jeffrey
ead26b4a66
start using zero-indexed instance of Program.
2013-07-12 00:36:36 -05:00
Christopher Jeffrey
5a96c3611d
misc. remove old code.
2013-07-12 00:21:40 -05:00
Christopher Jeffrey
cc863af2cf
zero indexed program to mirror tput.
2013-07-12 00:03:48 -05:00
Christopher Jeffrey
d452b72dd8
optimize updateCursor with CUU, CUD, CUF, and CUB.
2013-07-11 23:17:10 -05:00
Christopher Jeffrey
2356d30394
hide focus. public index prop. select item on dbl click.
2013-07-11 22:52:46 -05:00
Christopher Jeffrey
3eb382e8f1
color names. tabs in textareas/boxes. cleanup old code. focus behavior.
2013-07-11 20:54:52 -05:00
Christopher Jeffrey
2c43b2ccec
fix hover effects. refactor.
2013-07-10 12:48:18 -05:00
Christopher Jeffrey
31a0a0a2e6
fix textarea cursor position.
2013-07-06 02:54:04 -05:00
Christopher Jeffrey
9b363b47de
remove old code.
2013-07-04 02:18:27 -05:00
Christopher Jeffrey
e7e8216611
clearPos. fix textarea.
2013-07-04 02:18:26 -05:00
Christopher Jeffrey
06400d089f
add multiline textareas. remove old hoverBg code.
2013-07-04 02:18:26 -05:00
Christopher Jeffrey
6355b1259f
docs, tests, examples, misc, editor.
2013-07-04 02:18:26 -05:00
Christopher Jeffrey
05216eadbb
remove _isScreen.
2013-07-04 02:18:26 -05:00
Christopher Jeffrey
6ec3534fcd
misc fixes. remove dead code.
2013-07-04 02:18:26 -05:00
Christopher Jeffrey
44904082ad
blank line
2013-06-29 15:56:32 -07:00
Christopher Jeffrey
888ba0d1a4
remove old code.
2013-06-29 15:46:47 -07:00
Christopher Jeffrey
7908b34f2e
compare indexes for render order on mouseover.
2013-06-29 11:09:22 -07:00
Christopher Jeffrey
5d5c522577
fix hover and mouse events.
2013-06-29 10:07:51 -07:00
Christopher Jeffrey
6663c6c3f0
potential wrap content fix.
2013-06-26 19:15:49 -05:00
Christopher Jeffrey
a1e9ec5a55
cleanup render. ignore border option on scrollbar.
2013-06-25 18:23:15 -05:00
Christopher Jeffrey
edc5535682
add an optional scrollbar for scrollable-box.
2013-06-25 18:17:21 -05:00
Christopher Jeffrey
c265194182
change screen keypress behavior.
2013-06-25 17:31:13 -05:00
Christopher Jeffrey
77593efd05
readme, tput, mouse, types, misc.
2013-06-25 06:35:15 -05:00
Christopher Jeffrey
07334af6fc
readme. reduce screen events.
2013-06-24 06:16:02 -05:00
Christopher Jeffrey
e094f843db
save/restore focus.
2013-06-20 13:03:31 -05:00
Christopher Jeffrey
5265275d0d
cleaner content parsing.
2013-06-20 12:07:35 -05:00
Christopher Jeffrey
38c9f1f177
textbox hidden. insert lines.
2013-06-20 11:48:12 -05:00
Christopher Jeffrey
8a39e9aaf4
check for parseTags in wrapContent. recenter shrunken elements.
2013-06-20 08:12:39 -05:00
Christopher Jeffrey
dc623ee0d1
vshrink and hshrink checks.
2013-06-20 07:55:52 -05:00
Christopher Jeffrey
5ef468c192
cleanup textbox.
2013-06-20 07:47:42 -05:00
Christopher Jeffrey
4f0f9e53d7
major cleanup. remove old code.
2013-06-20 07:18:04 -05:00
Christopher Jeffrey
f431e98c03
major changes. better content formatting and parsing.
2013-06-20 06:43:56 -05:00
Christopher Jeffrey
d4ce9322cd
more events. setItems. predefined keys. docs.
2013-06-18 10:52:48 -05:00
Christopher Jeffrey
ef9178f7d0
docs. better cleanup.
2013-06-18 06:30:26 -05:00
Christopher Jeffrey
787c7c6945
more scroll fixing.
2013-06-18 05:44:36 -05:00
Christopher Jeffrey
3d52833fa3
numerous improvements.
2013-06-18 05:33:24 -05:00
Christopher Jeffrey
f59f7dc0e0
colors.js refactor.
2013-06-16 10:49:54 -05:00
Christopher Jeffrey
188561c9ca
fix colors.js.
2013-06-16 10:16:34 -05:00
Christopher Jeffrey
44b290b86c
color handling.
2013-06-16 10:13:39 -05:00
Christopher Jeffrey
dc2bfda057
mousemove and mouse refactor. fixes.
2013-06-16 10:12:47 -05:00
Christopher Jeffrey
f0b107978b
button and shrink work.
2013-06-16 08:38:14 -05:00
Christopher Jeffrey
2c632522e7
sattr changes.
2013-06-14 20:22:20 -05:00
Christopher Jeffrey
5247b41d8b
constructor and options handling.
2013-06-14 15:58:54 -05:00
Christopher Jeffrey
8cf00fe1b7
rename Screen._default.
2013-06-14 03:51:12 -05:00
Christopher Jeffrey
59b13fae82
alignment refactor.
2013-06-14 03:46:40 -05:00
Christopher Jeffrey
4f199c26aa
replace Text with Box element .shrink=true.
2013-06-14 03:35:45 -05:00
Christopher Jeffrey
b0b949b301
list resizing.
2013-06-14 03:28:59 -05:00
Christopher Jeffrey
268fbfef6a
minor changes to sgr handling.
2013-06-14 00:38:36 -05:00
Christopher Jeffrey
9eaf45acab
parsable attribute tags.
2013-06-13 20:21:41 -05:00
Christopher Jeffrey
6669d199ef
add padding option.
2013-06-13 19:02:02 -05:00
Christopher Jeffrey
aca4fd9833
default fg/bg.
2013-06-13 14:58:50 -05:00
Christopher Jeffrey
c70ec71e07
Revert "setCell function."
...
This reverts commit 34b7520c44
.
2013-06-13 14:58:00 -05:00
Christopher Jeffrey
34b7520c44
setCell function.
2013-06-13 14:57:46 -05:00
Christopher Jeffrey
1c6681e99d
different border drawing.
2013-06-13 05:30:21 -05:00
Christopher Jeffrey
fccb1627a6
fix text alignment.
2013-06-13 04:44:00 -05:00
Christopher Jeffrey
1765d44a69
add shrink option to Box.
2013-06-13 04:22:45 -05:00
Christopher Jeffrey
d9a0b49bce
text alignment. first step to deprecate Text.
2013-06-13 04:14:14 -05:00
Christopher Jeffrey
bca271fbe6
refactor attr swap.
2013-06-13 02:26:09 -05:00
Christopher Jeffrey
607013b22b
blink, inverse, invisible.
2013-06-13 02:22:01 -05:00
Christopher Jeffrey
461af61a59
refactor colors/attr.
2013-06-13 02:16:32 -05:00
Christopher Jeffrey
761e2a2aaf
insert and delete line functions utilizing csr.
2013-06-13 01:33:10 -05:00
Christopher Jeffrey
9963df5343
optimize setters.
2013-06-12 14:31:48 -05:00
Christopher Jeffrey
843736d5b1
allow vertical progress bars.
2013-06-12 04:18:47 -05:00
Christopher Jeffrey
796a3f0ddd
fix hide/show error.
2013-06-12 03:47:35 -05:00
Christopher Jeffrey
db001078b2
minor.
2013-06-11 20:16:18 -05:00
Christopher Jeffrey
9eaac2045b
improve parsed content handling.
2013-06-11 15:16:41 -05:00
Christopher Jeffrey
0eb04e4e6e
fix scroll resizing.
2013-06-11 14:30:36 -05:00
Christopher Jeffrey
b4566dc48b
comment.
2013-06-11 14:23:39 -05:00
Christopher Jeffrey
6357b4dfff
stop reverting to el.height for offsets if it is bigger than parent.height.
2013-06-11 14:00:18 -05:00
Christopher Jeffrey
94426dfd79
remove old code. comments.
2013-06-11 13:57:06 -05:00
Christopher Jeffrey
02c57a34ce
emit more events. use tput.
2013-06-11 13:51:01 -05:00
Christopher Jeffrey
6bf8afb357
docs. minor changes.
2013-06-11 12:05:14 -05:00
Christopher Jeffrey
39b7ae7546
multiple positioning improvements. tests.
2013-06-11 10:37:22 -05:00
Christopher Jeffrey
a7f2823df2
stop hooking addListener.
2013-06-11 09:27:50 -05:00
Christopher Jeffrey
8f4e23130e
positioning test. fix screen key listening.
2013-06-11 09:23:42 -05:00
Christopher Jeffrey
f463aa7b52
moving. resizing. fix scrolling.
2013-06-11 09:09:57 -05:00
Christopher Jeffrey
e3571d1281
setContent content handling for scrollable text.
2013-06-09 21:35:18 -05:00
Christopher Jeffrey
07351bdcb0
cleanup recent scroll work. fix max.
2013-06-09 20:33:57 -05:00
Christopher Jeffrey
ee739c6e7a
better content parsing and scrolling.
2013-06-09 20:19:32 -05:00
Christopher Jeffrey
c260bb9a02
add focus history.
2013-06-09 15:52:22 -05:00
Christopher Jeffrey
a19d9baf48
global element events. automatically focus on click.
2013-06-09 15:24:57 -05:00
Christopher Jeffrey
b04f8d04b2
fix textbox focusing.
2013-06-09 15:02:12 -05:00
Christopher Jeffrey
87aef67274
cleanup old textbox code.
2013-06-09 14:34:13 -05:00
Christopher Jeffrey
b29dddc547
refactor progressbar. horizontal scroll for textbox.
2013-06-09 14:32:29 -05:00
Christopher Jeffrey
41c4560a6f
add text input and setContent.
2013-06-09 13:17:24 -05:00
Christopher Jeffrey
812aa7fa42
automatically use alternate buffer etc.
2013-06-09 11:48:36 -05:00
Christopher Jeffrey
2cbbe786fb
better screen and parent handling. scroll improvements.
2013-06-09 11:39:05 -05:00
Christopher Jeffrey
48658c4cf9
fix progressbar.
2013-06-07 07:12:53 -05:00
Christopher Jeffrey
8cca60beac
add workaround for screen-256color terminfo. use correct terminfo fallback.
2013-06-07 06:47:17 -05:00
Christopher Jeffrey
8f0025c650
comments.
2013-06-07 06:17:15 -05:00
Christopher Jeffrey
3eee2599b7
more efficient content scrolling.
2013-06-07 05:58:00 -05:00
Christopher Jeffrey
7fb6b2cc3b
fix mouse events for overlapping elements.
2013-06-06 10:27:19 -05:00
Christopher Jeffrey
0477f38a2d
escape code and newline handling for Text.
2013-06-06 10:14:00 -05:00
Christopher Jeffrey
5902e224e5
better escape/newline handling.
2013-06-06 09:37:39 -05:00
Christopher Jeffrey
cbda45ae11
positioning
2013-06-06 08:18:46 -05:00
Christopher Jeffrey
b7f18f6f61
escape codes and newline handling.
2013-06-06 07:57:50 -05:00
Christopher Jeffrey
2cf1e5ee44
fix mousewheel on scrollables.
2013-06-06 05:49:47 -05:00
Christopher Jeffrey
5d67e189a8
allow element hiding.
2013-06-06 05:38:30 -05:00
Christopher Jeffrey
ac10c408e3
optimize rendering even more.
2013-06-06 05:19:52 -05:00
Christopher Jeffrey
d0473749c9
potentially allow newlines in text content.
2013-06-06 04:40:06 -05:00
Christopher Jeffrey
ed2b9ae4d0
major improvements.
2013-06-06 04:03:25 -05:00
Christopher Jeffrey
1d37b2b6e2
reorganize
2013-06-03 20:33:08 -05:00
Christopher Jeffrey
dbacb6f8ed
Revert "auto calculate top for lists."
...
This reverts commit 5ec1f2808c
.
2013-06-03 20:06:58 -05:00
Christopher Jeffrey
5ec1f2808c
auto calculate top for lists.
2013-06-03 20:06:55 -05:00
Christopher Jeffrey
45dec1039c
first working scrollable box.
2013-06-02 22:32:34 -05:00
Christopher Jeffrey
4b61da17c9
full list item fix.
2013-06-01 06:43:09 -05:00
Christopher Jeffrey
210d956214
border measures.
2013-06-01 06:08:18 -05:00
Christopher Jeffrey
493004b521
fixes. scrollble work.
2013-06-01 05:47:18 -05:00
Christopher Jeffrey
4fe0e98704
lists. misc.
2013-06-01 02:06:04 -05:00
Christopher Jeffrey
7e85f82426
first working highlevel example.
2013-06-01 00:29:31 -05:00
Christopher Jeffrey
58b2bf8f74
example. resize.
2013-05-31 21:44:43 -05:00
Christopher Jeffrey
0b77cb0d27
more cleanup
2013-05-31 21:40:04 -05:00
Christopher Jeffrey
4c52543f98
example, fix scrollable, cleanup, percentage positions.
2013-05-31 21:39:15 -05:00
Christopher Jeffrey
342f56a822
finally commit experimental high level interface.
2013-05-31 21:09:07 -05:00
Christopher Jeffrey
a1c82b1aa7
set-title for screen.
2013-04-28 17:39:46 -05:00
Christopher Jeffrey
110059704d
fix else...then.
2013-03-09 04:57:39 -06:00
Christopher Jeffrey
00b5a5b6f7
have extended area start on an even byte.
2013-03-06 04:53:08 -06:00
Christopher Jeffrey
2c41e0b862
include extended header in output.
2013-03-06 04:44:48 -06:00
Christopher Jeffrey
42815f72fa
add extended xterm features.
2013-03-06 04:27:42 -06:00
Christopher Jeffrey
78c2803523
do not gracefully handle bad parse errors.
2013-03-06 04:03:54 -06:00
Christopher Jeffrey
134ebe28c0
Revert "misc changes."
...
This reverts commit 20121bec954e6744d9756e3f60a65f04fd897bbc.
2013-03-05 21:49:45 -06:00
Christopher Jeffrey
14c3e82d16
misc changes.
2013-03-05 18:16:14 -06:00
Christopher Jeffrey
962a7bdcc6
handle terminfo fallback better.
2013-03-05 17:38:41 -06:00
Christopher Jeffrey
464451859a
comments.
2013-03-05 02:40:00 -06:00
Christopher Jeffrey
7f0ab93e0d
cleanup
2013-03-05 02:28:20 -06:00
Christopher Jeffrey
176df61343
refactor
2013-03-04 20:03:00 -06:00
Christopher Jeffrey
c7f68baec6
improve test. add configurable termcap/info file options.
2013-03-04 18:22:23 -06:00
Christopher Jeffrey
f7a569c628
refactor. assert.
2013-03-04 13:00:14 -06:00
Christopher Jeffrey
51bc7c388c
comments. misc.
2013-03-01 07:02:14 -06:00
Christopher Jeffrey
36971ed715
minor
2013-02-28 18:01:07 -06:00
Christopher Jeffrey
a3bf0984ca
fix termcap aliases.
2013-02-28 01:41:25 -06:00
Christopher Jeffrey
36df8ef3ca
fix termcap aliases.
2013-02-28 01:36:27 -06:00
Christopher Jeffrey
4ed0bda9ff
recursively inherit from other termcap entries.
2013-02-28 01:26:08 -06:00
Christopher Jeffrey
6acb18fba4
improve compileTerminfo. try to read from $TERMCAP.
2013-02-28 01:17:37 -06:00
Christopher Jeffrey
76fa728a89
fix %r. remove comment.
2013-02-27 19:55:03 -06:00
Christopher Jeffrey
629995a669
add an assert.
2013-02-27 19:40:57 -06:00
Christopher Jeffrey
086414a5c5
fix printf %c.
2013-02-27 19:39:08 -06:00
Christopher Jeffrey
f2c4c01d9e
expose data for debugging.
2013-02-27 19:28:59 -06:00
Christopher Jeffrey
d5208b758f
refactor
2013-02-27 18:25:59 -06:00
Christopher Jeffrey
df0aeb5005
more work
2013-02-27 17:43:28 -06:00
Christopher Jeffrey
fe004fff34
work
2013-02-27 17:26:34 -06:00
Christopher Jeffrey
3897e49ef8
more termcap work.
2013-02-27 17:17:26 -06:00
Christopher Jeffrey
8f09c278f1
translate termcap caps to terminfo.
2013-02-27 16:57:11 -06:00
Christopher Jeffrey
1f979b35ac
cleanup
2013-02-27 16:36:02 -06:00
Christopher Jeffrey
f1fe73e974
termcap compilation
2013-02-27 16:34:57 -06:00
Christopher Jeffrey
8a3f29fddb
refactor
2013-02-27 12:26:33 -06:00
Christopher Jeffrey
983dfa943e
inherit tput objects properties.
2013-02-27 12:23:55 -06:00
Christopher Jeffrey
f7e8cde45e
misc
2013-02-27 12:17:15 -06:00
Christopher Jeffrey
ea85c1778f
remove comments.
2013-02-25 19:10:51 -06:00
Christopher Jeffrey
44ca13c291
refactor. misc fixes.
2013-02-25 19:10:19 -06:00
Christopher Jeffrey
618ba14369
optional printf.
2013-02-25 06:29:46 -06:00
Christopher Jeffrey
1684a267dc
Revert "use sprintf"
...
This reverts commit af1ad01b99
.
2013-02-25 06:12:52 -06:00
Christopher Jeffrey
af1ad01b99
use sprintf
2013-02-25 06:12:28 -06:00
Christopher Jeffrey
36fa2fc1db
remove unused code.
2013-02-25 06:10:56 -06:00
Christopher Jeffrey
49a8f59091
fix printf.
2013-02-25 06:06:34 -06:00
Christopher Jeffrey
b71203be18
refactor. comment.
2013-02-25 02:16:33 -06:00
Christopher Jeffrey
ea4542027b
fix clr_eos/ed and other possible collisions.
2013-02-25 02:05:27 -06:00
Christopher Jeffrey
68911aa357
more tput usage.
2013-02-25 01:47:32 -06:00
Christopher Jeffrey
55ba68195e
start using tput.
2013-02-25 01:14:38 -06:00
Christopher Jeffrey
edf2dfa5dc
remove fallback prop name. comments.
2013-02-25 00:40:46 -06:00
Christopher Jeffrey
13a4f59ef6
handle empty strings in compiler.
2013-02-24 19:24:57 -06:00
Christopher Jeffrey
7a7bc00777
add comments explaining extended parsing.
2013-02-24 19:15:53 -06:00
Christopher Jeffrey
bf60ca69e7
final cleanup
2013-02-24 18:48:36 -06:00
Christopher Jeffrey
d89f9845ab
fix finding end of string table.
2013-02-24 18:43:04 -06:00
Christopher Jeffrey
1bd2a71946
cleanup
2013-02-24 18:22:32 -06:00
Christopher Jeffrey
8d92eb49c6
more ext work
2013-02-24 18:20:31 -06:00
Christopher Jeffrey
eefc2842a6
cleanup
2013-02-24 16:43:26 -06:00
Christopher Jeffrey
c4de02651e
more messy work
2013-02-24 16:31:33 -06:00
Christopher Jeffrey
8b479fb169
messy work on extended parser.
2013-02-24 15:07:54 -06:00
Christopher Jeffrey
38d3a6445a
add _print().
2013-02-24 12:58:29 -06:00
Christopher Jeffrey
c9dc4f2d98
add unsupported property on unsupported capabilties.
2013-02-24 12:49:48 -06:00
Christopher Jeffrey
5f9df53708
sprintf
2013-02-24 12:44:53 -06:00
Christopher Jeffrey
06d6734622
allow options object for Program constructor.
2013-02-24 12:05:24 -06:00
Christopher Jeffrey
1d2c2f182b
first attempt at an sprintf function.
2013-02-24 11:56:27 -06:00
Christopher Jeffrey
b41ac01700
potentially use sprintf function.
2013-02-24 11:20:30 -06:00
Christopher Jeffrey
318bc09cf2
add all terminfo aliases
2013-02-24 10:59:20 -06:00
Christopher Jeffrey
5d9c3cccda
fix printf command
2013-02-24 08:22:37 -06:00
Christopher Jeffrey
5075fa6efb
fix escaped chars
2013-02-24 08:19:38 -06:00
Christopher Jeffrey
f80fb93419
fix comments
2013-02-24 08:14:54 -06:00
Christopher Jeffrey
59de26fcbe
fix and test padding.
2013-02-24 08:13:25 -06:00
Christopher Jeffrey
60edb202a3
fix types.
2013-02-24 08:02:07 -06:00
Christopher Jeffrey
6c6b4f8f66
refactor, options, comments. flags.
2013-02-24 07:55:24 -06:00
Christopher Jeffrey
587443f9e3
clean up compiler
2013-02-24 07:44:48 -06:00
Christopher Jeffrey
f8569144ea
fix termcap parser
2013-02-24 07:40:42 -06:00
Christopher Jeffrey
4703d45fef
cleanup parsers
2013-02-24 07:39:29 -06:00
Christopher Jeffrey
857a83a3fb
add parsePadding
2013-02-23 20:48:24 -06:00
Christopher Jeffrey
f83e3304d1
refactor readTermcap
2013-02-23 16:03:39 -06:00
Christopher Jeffrey
fb752f1783
add names array to terminfo data.
2013-02-23 16:01:50 -06:00
Christopher Jeffrey
fe0e82f046
add references to termcap data for all term names.
2013-02-23 15:58:59 -06:00
Christopher Jeffrey
26440e76e1
reorganize termcap object.
2013-02-23 15:56:02 -06:00
Christopher Jeffrey
f26d4dd93a
rename.
2013-02-22 16:12:34 -06:00
Christopher Jeffrey
6dad574249
cleanup
2013-02-22 15:54:10 -06:00
Christopher Jeffrey
c477f71dd2
add termcap parser.
2013-02-22 15:51:13 -06:00
Christopher Jeffrey
a784ca6a2b
minor
2013-02-22 11:12:05 -06:00
Christopher Jeffrey
d04c335aa9
refactor
2013-02-22 05:20:50 -06:00
Christopher Jeffrey
17891e74c7
refactor ^c handling
2013-02-22 04:11:04 -06:00
Christopher Jeffrey
f17634dfa7
more helper functions
2013-02-22 03:40:58 -06:00
Christopher Jeffrey
1988c22cab
better escaping.
2013-02-21 05:39:29 -06:00
Christopher Jeffrey
badfaf95aa
optimzations. fix escape.
2013-02-21 03:08:39 -06:00
Christopher Jeffrey
6c6c652638
use out.push instead of o()
2013-02-20 14:01:01 -06:00
Christopher Jeffrey
c1d9868b49
fixes
2013-02-20 08:11:32 -06:00
Christopher Jeffrey
270a5af7e8
refactor.
2013-02-19 19:22:43 -06:00
Christopher Jeffrey
40d89449f6
padding. flags. all methods.
2013-02-19 13:21:28 -06:00
Christopher Jeffrey
29720f05d1
more cleanup
2013-02-18 15:17:30 -06:00
Christopher Jeffrey
ef991d5a26
cleanup
2013-02-18 11:00:44 -06:00
Christopher Jeffrey
d35e49afb0
refactor
2013-02-17 16:40:45 -06:00
Christopher Jeffrey
1d26b0a6c1
fix a few commands.
2013-02-17 14:55:27 -06:00
Christopher Jeffrey
80b330a2be
finally working
2013-02-17 13:25:58 -06:00