177 Commits

Author SHA1 Message Date
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
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
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
b6853fbd88 minor style fixes. 2015-02-01 07:36:53 -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
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
1795cd93d6 use setImmediate everywhere. 2015-01-31 12:26:19 -08:00
Mario GLiewe
96a19b8523 Merge https://github.com/chjj/blessed 2015-01-31 21:21:14 +01: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 bb61e5c1446c3c3f3833fee5b8e0b52320926eae.
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
547812928e window title. potential enter/return fix for keys. 2015-01-29 20:08:23 -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
436c81204f include our own emitKeypressEvents. fixes #92. 2015-01-16 11:56:19 -08:00
Dan Kaplun
4fcfdbaff3 Fixes scroll wheel support with modifiers for GNOME Terminal 2014-05-18 02:59:02 -05:00
Christopher Jeffrey
b5026af628 always default to windows-ansi on windows. minor refactor. 2013-08-29 18:22:35 -05:00
Christopher Jeffrey
0eaff0bb07 fix enter key workaround. minor. typo. 2013-08-18 15:02:35 -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
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
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
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
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
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
8ea1fe4dab working nested scrolling. 2013-07-26 01:38:25 -05:00
Christopher Jeffrey
5e2f1061d1 misc - add a blessed.js file. 2013-07-24 14:41:02 -05:00