Commit Graph

413 Commits

Author SHA1 Message Date
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 65829a2234 use csr on fm test. 2013-07-23 17:06:01 -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