Commit Graph

659 Commits

Author SHA1 Message Date
Christopher Jeffrey 02fd115fb0 remember last button for mouseup on x10 and urxvt protocols. 2015-02-24 18:22:04 -08:00
Christopher Jeffrey ad546d9af9 remove comments. 2015-02-24 18:17:04 -08:00
Christopher Jeffrey aaa9905fac drop terminfo checks in setMouse. 2015-02-24 18:11:03 -08:00
Christopher Jeffrey 190e75884d cleanup setMouse. 2015-02-24 18:05:10 -08:00
Christopher Jeffrey b42308c7cc fix key events for textareas. 2015-02-22 13:37:44 -08:00
Christopher Jeffrey 520dc08100 minor. 2015-02-22 12:59:53 -08:00
Christopher Jeffrey 02ca94a8d9 tput: debug info for {init,reset}_file. fix global var. 2015-02-21 13:52:39 -08:00
Christopher Jeffrey 77695f994a add noAlt option. fix list shrinking. 2015-02-21 13:31:25 -08:00
Christopher Jeffrey 586a586e60 remove mouse comments. fix removeHover. 2015-02-21 02:48:47 -08:00
Christopher Jeffrey 5d72fb1938 fix Terminal element. check for allocated gpmclient. 2015-02-17 22:12:49 -08:00
Christopher Jeffrey a335257505 filter out all mouse events from keys. see slap-editor/slap-editor#74. 2015-02-13 19:28:18 -08:00
Christopher Jeffrey 03cdfbb39c add mouse protocols. window title restore. fix response. 2015-02-13 19:14:27 -08:00
Christopher Jeffrey a29fdf1c74 fix hover text and demonstrate it better. 2015-02-13 01:18:20 -08:00
Christopher Jeffrey c0e36f137d fix error caused when screen.render() is called during a delayed resize. 2015-02-13 00:59:47 -08:00
Christopher Jeffrey 41cb97d664 fix terminal cursor. 2015-02-12 22:37:53 -08:00
Christopher Jeffrey 29a78697bb fix style.border values. fixes #105. 2015-02-11 17:21:41 -08:00
Christopher Jeffrey 982e075a90 Image and Terminal element. 2015-02-11 17:20:22 -08:00
Christopher Jeffrey 267e77a089 improve Terminal element and terminal multiplexer example. 2015-02-11 02:27:11 -08:00
Christopher Jeffrey 00a0f800f9 add "interactive" option for lists. fixes #103. 2015-02-09 20:14:34 -08:00
Christopher Jeffrey d69ed5c294 more work on Image element. 2015-02-09 19:49:33 -08:00
Christopher Jeffrey 1729244db3 image element: fix shrink. 2015-02-09 01:43:16 -08:00
Christopher Jeffrey 9e234c3901 fix image rendering. 2015-02-09 00:19:35 -08:00
Christopher Jeffrey cce38f9f21 improve w3m checking for Image element and screen.displayImage. 2015-02-09 00:09:30 -08:00
Christopher Jeffrey 4c1e020b42 add title. 2015-02-09 00:03:09 -08:00
Christopher Jeffrey c8a9222749 image align=center. 2015-02-09 00:02:07 -08:00
Christopher Jeffrey dd0f1cbb70 fix clearImage. 2015-02-08 23:43:32 -08:00
Christopher Jeffrey 49f1843955 improvements to the Image element. add screen.displayImage(). 2015-02-08 23:42:44 -08:00
Christopher Jeffrey f88d74997a comment 2015-02-08 22:01:24 -08:00
Christopher Jeffrey 594b0bd340 fix NCURSES_NO_UTF8_ACS handling. 2015-02-08 21:34:46 -08:00
Christopher Jeffrey c6287668ee comment 2015-02-08 14:35:08 -08:00
Christopher Jeffrey 1f2098707c require both terminfo and LANG to lack utf8 in order for ascii fallback. fixes #98. 2015-02-08 14:29:38 -08:00
Christopher Jeffrey 1cf69f74d9 minor. comment. 2015-02-07 16:04:14 -08:00
Christopher Jeffrey e8fe076681 refactor mouse events. put `buf` on event object. 2015-02-07 15:37:01 -08:00
Christopher Jeffrey 0290d7f15f clear response listeners after 2 seconds. 2015-02-07 00:15:25 -08:00
Christopher Jeffrey d70fa6d4a2 fix wheel, move, and button decoding for mouse events. 2015-02-04 20:39:34 -08:00
Christopher Jeffrey 89b2dfc373 major reimplementation of sgr and urxvt mouse. mousewheel not yet tested. 2015-02-03 21:22:04 -08:00
Christopher Jeffrey 5a4ddda37d shrink Image element by image size. 2015-02-01 14:01:55 -08:00
Christopher Jeffrey 6ee469fdcb add Image element using w3mimgdisplay. 2015-02-01 13:43:52 -08:00
Christopher Jeffrey 690cf9d3f4 stop listening for mouse sequences before switching to normal buffer. 2015-02-01 09:51:05 -08:00
Christopher Jeffrey a2afbe54bc detect bugged vte mouse better. see #89. 2015-02-01 09:22:18 -08:00
Christopher Jeffrey c243415049 attempt to use both alternate screen buffer sequences. 2015-02-01 08:51:56 -08:00
Christopher Jeffrey e9b3bdac34 allow VTE mouse access to cells up to 287. see #89. 2015-02-01 08:47:24 -08:00
Christopher Jeffrey 1d900c928d add vt200hilite for forced mouse modes. see #101. 2015-02-01 07:47:00 -08:00
Christopher Jeffrey 8efba79453 cast vc to an int. 2015-02-01 07:41:26 -08:00
Christopher Jeffrey b6853fbd88 minor style fixes. 2015-02-01 07:36:53 -08:00
Christopher Jeffrey 10b8cc2fe1 comment. 2015-02-01 07:23:43 -08:00
Christopher Jeffrey ac6b54c181 comments. license. 2015-02-01 07:22:39 -08:00
Christopher Jeffrey f13f1242b2 gpm: add a gpmMouse option for setMouse. 2015-02-01 07:10:17 -08:00
Christopher Jeffrey 87a3d2f288 gpm: refactor to fit style. 2015-02-01 07:07:55 -08:00
Christopher Jeffrey fae4acceef Merge remote-tracking branch 'mgliewe/master'
Conflicts:
	lib/program.js
2015-02-01 06:46:22 -08:00
Mario GLiewe fc227ed503 workaropund: allow forced mouse protocol via env 2015-02-01 13:16:29 +01:00
Mario GLiewe db435b179d fix: would crash if no gpm installed 2015-02-01 13:15:41 +01:00
Christopher Jeffrey 8247501924 check for OSX terminal env variables. 2015-01-31 22:29:43 -08:00
Christopher Jeffrey 9589eb81d6 more env variable checks for vte. 2015-01-31 22:22:15 -08:00
Christopher Jeffrey 32a783b282 check for terminator - more VTE usage. 2015-01-31 21:57:23 -08:00
Christopher Jeffrey ffbadfc988 add vt200Mouse to rxvt because it supports it. 2015-01-31 18:54:23 -08:00
Christopher Jeffrey 37f2313979 more vte+rxvt cleanup. see #89. 2015-01-31 18:49:15 -08:00
Christopher Jeffrey 3cdcc7a64b more fixes for VTE. see #89. 2015-01-31 18:36:47 -08:00
Christopher Jeffrey f055496161 fix program.getCursor. fixes #25. 2015-01-31 12:57:21 -08:00
Christopher Jeffrey 955f509581 drop wrapCursor and parseChar. should be used for other terminfo feature checks. 2015-01-31 12:35:22 -08:00
Christopher Jeffrey 610e00ee21 use emitter.setMaxListeners(). 2015-01-31 12:32:33 -08:00
Christopher Jeffrey 1795cd93d6 use setImmediate everywhere. 2015-01-31 12:26:19 -08:00
Christopher Jeffrey a9153aeef5 clean up process events. 2015-01-31 12:24:55 -08:00
Mario GLiewe 96a19b8523 Merge https://github.com/chjj/blessed 2015-01-31 21:21:14 +01:00
Christopher Jeffrey 27060d59af automatically deal with custom process events. fixes #100. 2015-01-31 12:19:00 -08:00
Christopher Jeffrey 127ae12c1b use urxvt mouse protocol for vte-based terminals. fixes #89. 2015-01-31 01:51:40 -08:00
Christopher Jeffrey df73eb5e3e Revert "add workarounds for libvte mouse events. see #89."
This reverts commit bb61e5c144.
2015-01-31 01:51:12 -08:00
Christopher Jeffrey bb61e5c144 add workarounds for libvte mouse events. see #89. 2015-01-31 01:43:16 -08:00
Christopher Jeffrey 0386f8b5d6 the ACS is finally correct. 2015-01-29 21:53:06 -08:00
Christopher Jeffrey 547812928e window title. potential enter/return fix for keys. 2015-01-29 20:08:23 -08:00
Christopher Jeffrey 0881128a4f fix ACS for TERM=linux again. fix listbar .style. 2015-01-29 20:06:37 -08:00
Christopher Jeffrey 02176938c9 add screen.title property. misc. 2015-01-27 20:39:00 -08:00
Mario GLiewe d8eff3fa55 fix: make mousewheel work for gpm 2015-01-28 04:01:49 +01:00
Mario GLiewe efe4e475a6 added gpm support for linux vc 2015-01-28 03:43:48 +01:00
Christopher Jeffrey 5bdfc18daf cleanup unnecesary code after terminal element addition. 2015-01-24 21:33:30 -08:00
Christopher Jeffrey 879a072353 add terminal widget and hover box. 2015-01-24 18:34:57 -08:00
Christopher Jeffrey 1872f1406d work around bad choice of method name. 2015-01-16 15:08:27 -08:00
Christopher Jeffrey 436c81204f include our own emitKeypressEvents. fixes #92. 2015-01-16 11:56:19 -08:00
Christopher Jeffrey 0cafb89831 fix label "fixed" behavior. widget-file.js. 2015-01-16 11:13:12 -08:00
Christopher Jeffrey 6b91546e15 fix negative autoPadding checks. 2015-01-16 10:55:24 -08:00
Christopher Jeffrey f445dd8765 fix scrolling on widget-form.js. 2015-01-16 10:29:15 -08:00
Christopher Jeffrey 5300702e34 remove commented code. 2015-01-15 13:32:50 -08:00
Christopher Jeffrey 0b4d70a207 remove attr comments. fix two scroll bugs. 2015-01-15 13:22:55 -08:00
Christopher Jeffrey 6eb28b6b4f more scrolling fixes. 2015-01-14 16:24:55 -08:00
Christopher Jeffrey dafad57d0d fix scrolling. 2015-01-14 10:46:07 -08:00
Christopher Jeffrey 101058517b misc fixes pertaining to element scrolling. 2015-01-13 15:04:24 -08:00
Christopher Jeffrey 8bff88848b comment code that does not properly abide by autopadding. 2015-01-07 14:53:29 -08:00
Dan Kaplun e53ec4caa8 No list padding 2014-10-04 14:08:44 -05:00
Christopher Jeffrey 23bba3f41e fix: separator tag. 2014-06-26 12:48:27 -05:00
Christopher Jeffrey 73c50e41a8 add separator tag: {|}. 2014-06-16 22:41:28 -05:00
Christopher Jeffrey 4cf8be871d refactor fuzzyFind. 2014-06-11 03:03:32 -05:00
Christopher Jeffrey 5b249d3fec fix loader. element focused property. 2014-06-10 21:41:22 -05:00
Dan Kaplun 832f47d2c5 Fixes last character cropping bug 2014-06-05 12:53:41 -05:00
Dan Kaplun b945d5c734 Adds handleUncaughtExceptions option that allows disabling of Screen's uncaughtException handler 2014-06-05 12:22:38 -05:00
Christopher Jeffrey 458e4dfdea Merge pull request #43 from EndangeredMassa/master
fix setIndex to include last item
2014-06-05 01:28:38 -05:00
Christopher Jeffrey a1ea57eaf0 Merge pull request #63 from beardtree/click-fix
Fixes clicking when mousedown element != mouseup element
2014-06-05 01:24:04 -05:00
Christopher Jeffrey a2651e22ba Merge pull request #49 from slap-editor/mousewheel-modifier-keys-fix
Fixes scroll wheel support with modifiers for GNOME Terminal
2014-06-05 01:23:52 -05:00
Christopher Jeffrey e265779369 stop event propagation with button.press if desired. fixes #64. 2014-06-05 01:12:47 -05:00
Christopher Jeffrey 6f91361197 add ignoreLocked option to Screen. 2014-06-05 01:10:36 -05:00
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