Commit Graph

537 Commits

Author SHA1 Message Date
Christopher Jeffrey b21e535391 add a customizable Layout element. see #23. 2015-05-06 13:00:57 -07:00
Christopher Jeffrey 583fa4f6f7 more refactoring of lib/blessed. 2015-05-05 23:59:50 -07:00
Christopher Jeffrey 8d11075b89 improve lib/blessed.js 2015-05-05 23:22:40 -07:00
Christopher Jeffrey 5eddd2aed2 whitespace. comments. 2015-05-05 23:10:18 -07:00
Christopher Jeffrey a4d56fb819 refactor: split widgets up. fixes #133. 2015-05-05 21:44:38 -07:00
Christopher Jeffrey 99f9d622e6 minor fix for sync image rendering. 2015-05-05 19:17:16 -07:00
Christopher Jeffrey 9260848868 add synchronous setImage for Image elements. 2015-05-02 03:01:42 -07:00
Christopher Jeffrey e6c763a73c use onScreenEvent for element keys to prevent memory leaks. 2015-05-01 22:43:31 -07:00
Christopher Jeffrey 1044a88e58 allow custom draggable checks. 2015-05-01 22:14:49 -07:00
Christopher Jeffrey 3205dd289d fix onScreenEvent listeners. 2015-05-01 22:04:26 -07:00
Christopher Jeffrey 245b3f44b1 experimental angle improvement. 2015-05-01 21:59:09 -07:00
Christopher Jeffrey c435b03bdc use onScreenEvent to prevent memory leaks. 2015-05-01 21:58:26 -07:00
Christopher Jeffrey de4aa27d70 make terminals focusable. set elements being dragged to front of z-index. terminal multiplexer. 2015-05-01 21:24:45 -07:00
Christopher Jeffrey b5341b8b81 add ignoreDockContrast option. 2015-05-01 21:09:40 -07:00
Christopher Jeffrey 0ea19cacad fix off-screen coords. fix draggable. 2015-05-01 20:55:13 -07:00
Christopher Jeffrey f26ae44d84 fix fillRegion/clearRegion. 2015-05-01 18:20:16 -07:00
Christopher Jeffrey 69b3d144c4 widget-unicode test. 2015-05-01 18:07:15 -07:00
Christopher Jeffrey ba4108445a avoid wrapping shortfall due to surrogate pairs. 2015-05-01 17:44:49 -07:00
Christopher Jeffrey b6c512925f fix shift+G. potentially use getScrollHeight for more things. 2015-05-01 16:44:10 -07:00
Christopher Jeffrey 0506f5fea2 bright and grey color names. 2015-05-01 01:27:11 -07:00
Christopher Jeffrey e2faf2300e windows commands. 2015-05-01 01:02:26 -07:00
Christopher Jeffrey b0daa72a72 comment. 2015-05-01 00:57:40 -07:00
Christopher Jeffrey d2586089c8 reorganize more code. 2015-05-01 00:47:39 -07:00
Christopher Jeffrey 0b6fceec23 refactor blend. 2015-05-01 00:40:12 -07:00
Christopher Jeffrey f5f2b71562 refactor helpers. 2015-05-01 00:33:34 -07:00
Christopher Jeffrey 3e8083d5a1 more refactoring of helpers. 2015-05-01 00:32:44 -07:00
Christopher Jeffrey 8eb57e919e refactor: move helpers around. 2015-05-01 00:27:33 -07:00
Christopher Jeffrey 797d8de45f handle unicode and tags better in tables and textareas. 2015-04-30 23:51:45 -07:00
Christopher Jeffrey 23567a75ab improve charWidth and strWidth. 2015-04-30 23:09:09 -07:00
Christopher Jeffrey 4ff2c992d5 fix overlapping draggable elements. 2015-04-30 09:48:50 -07:00
Christopher Jeffrey d1bfdd5a31 only allow scrollbar usage with mouse if `mouse` option is set. 2015-04-30 09:41:07 -07:00
Christopher Jeffrey bcf9b630bb mouse interactive scrollbar. 2015-04-29 12:43:58 -07:00
Christopher Jeffrey 023e6be4e5 another hover fix. 2015-04-27 23:57:08 -07:00
Christopher Jeffrey a5bfa4397a clean and fix hover code. 2015-04-27 23:55:49 -07:00
Christopher Jeffrey 5468509778 optimize hover text. 2015-04-27 21:24:58 -07:00
Christopher Jeffrey 36c726006f add more events to lists. 2015-04-27 16:59:45 -07:00
Christopher Jeffrey b241e1a4df do not render combining chars on iTerm2.
see: 2eb57cc725
2015-04-27 15:07:23 -07:00
Christopher Jeffrey 46e9c52030 cursor position in textarea. 2015-04-27 15:04:33 -07:00
Christopher Jeffrey 09fe097d3f clean up unicode code and comments some more. 2015-04-27 14:53:34 -07:00
Christopher Jeffrey f8946a22f3 fix combining check during unicode wrap. 2015-04-27 14:08:18 -07:00
Christopher Jeffrey 53066c8f4c minor: comment. 2015-04-27 14:04:17 -07:00
Christopher Jeffrey cb9ffee1e3 fix surrogate singles. stop using bad surrogate double for testing.
see 2eb57cc725
2015-04-27 12:51:11 -07:00
Christopher Jeffrey 582831e5bc clear screen on windows during Screen.enter. 2015-04-27 01:23:30 -07:00
Christopher Jeffrey f37a619cc6 allow 0-width 0-height elements. see slap-editor/slap#153. 2015-04-27 00:14:02 -07:00
Christopher Jeffrey 56421ccc7b fix VTE again - two chars for surrogate wide replacement. 2015-04-26 07:17:39 -07:00
Christopher Jeffrey 0ea8c77dd8 fix VTE. only remove surrogate double chars. 2015-04-26 07:16:50 -07:00
Christopher Jeffrey 051e90070c workaround VTEs wide surrogate pair display bug. 2015-04-26 07:03:52 -07:00
Christopher Jeffrey 34fd68b620 Revert "isSurrogateLast"
This reverts commit e19730578c.
2015-04-26 06:38:06 -07:00
Christopher Jeffrey e19730578c isSurrogateLast 2015-04-26 06:37:45 -07:00
Christopher Jeffrey 2eb57cc725 do not break on spaces, double-widths, surrogates, or combinings for text wrapping. 2015-04-26 06:32:41 -07:00