Daniel Imms
adaf604ce0
Right trim expected output, we don't care for now
...
This fixes 2 tests
2017-01-20 21:39:27 -08:00
Daniel Imms
d5f0fff523
Enable other tests and fix viewport check
2017-01-20 21:22:16 -08:00
Daniel Imms
43c3349494
Prevent wraparound mode from overriding last character
2017-01-20 21:20:11 -08:00
Daniel Imms
9a86e4e109
Fix setupStops call in resize
...
Fixes #259
2017-01-20 14:23:45 -08:00
Daniel Imms
9626b1e39d
Only keep > 0 geometry in CharMeasure
...
Fixes #494
2017-01-19 18:02:09 -08:00
Daniel Imms
9227aed906
Add InputHandler.setCursorStyle test
2017-01-18 10:30:35 -08:00
Daniel Imms
0bd469f505
Implement CSI Ps SP q Set cursor style
...
Fixes #480
2017-01-18 10:06:57 -08:00
Daniel Imms
ef60e50e1d
Add documentation
2017-01-18 09:35:27 -08:00
Daniel Imms
a4080d3706
Namespace cursor-blink CSS animations
...
Fixes #489
2017-01-18 08:06:41 -08:00
Daniel Imms
e2b2f98011
Merge remote-tracking branch 'upstream/master' into 459_parser__on_460
2017-01-16 15:17:35 -08:00
Daniel Imms
1cdd2e00ab
Remove parser states from xterm.js
2017-01-16 14:11:00 -08:00
Daniel Imms
94eb08fb73
Remove comments in build
2017-01-16 14:02:55 -08:00
Daniel Imms
5e1ccb358b
Merge remote-tracking branch 'upstream/master' into 459_parser__on_460
2017-01-16 13:53:19 -08:00
Daniel Imms
a05bb50230
Don't drop selection on modifier keyup
...
Fixes #348
2017-01-15 21:41:42 -08:00
Daniel Imms
12160a50cb
Fake xterm.element in tests
2017-01-15 02:31:54 -08:00
Daniel Imms
375ccbd9e2
Merge remote-tracking branch 'upstream/master' into 478_cursorBlink_refresh
2017-01-15 02:22:45 -08:00
Daniel Imms
cc0f0d94f6
Merge remote-tracking branch 'upstream/master' into 441_windows_support
2017-01-15 02:12:17 -08:00
Daniel Imms
4448ebe391
Use charsets to map
2017-01-14 22:06:30 -08:00
Daniel Imms
d1dac57f7a
Move cursor blink style to class on .terminal
2017-01-14 21:26:49 -08:00
Daniel Imms
7679475bfe
Apply cursorBlink via setOption
...
Fixes #478
2017-01-13 21:31:31 -08:00
Daniel Imms
5a932b2a20
Apply scrollback via setOption
...
Fixes #476
2017-01-13 21:27:19 -08:00
Daniel Imms
ecd7e69f1a
Start adding ESC state handler
2017-01-12 22:36:48 -08:00
Daniel Imms
fa3484cd14
Pull character add char code to input handler
2017-01-12 22:17:36 -08:00
Daniel Imms
f4846aa154
Finish CSI codes
2017-01-12 21:58:50 -08:00
Daniel Imms
9b66208029
Add more CSI codes
2017-01-12 21:33:28 -08:00
Daniel Imms
c43c3b411a
Add more CSI codes
2017-01-12 20:51:15 -08:00
Daniel Imms
f9a286a851
Convert more CSI codes
2017-01-12 20:32:15 -08:00
Daniel Imms
3de3912b96
Add another null check on children[y]
2017-01-12 11:23:17 -08:00
Daniel Imms
23169e89c8
Add null checks to refresh line and character fetches
...
Fixes #473
2017-01-12 11:14:14 -08:00
Daniel Imms
0f5f34e8f5
Move CharMeasure element to the helper container
...
Fixes #470
2017-01-12 10:47:57 -08:00
Daniel Imms
342e862d69
Merge remote-tracking branch 'upstream/master' into 459_parser__on_460
2017-01-11 13:43:33 -08:00
Daniel Imms
0ec125557a
Merge remote-tracking branch 'upstream/master' into 425_xon_xoff_on_280
2017-01-10 20:24:07 -08:00
Daniel Imms
0739a4be06
Merge remote-tracking branch 'upstream/master' into 425_xon_xoff_on_280
2017-01-10 20:04:26 -08:00
Daniel Imms
d52b53889e
Merge remote-tracking branch 'upstream/master' into 335_viewport_var
2017-01-10 20:03:19 -08:00
Daniel Imms
d9682bd6d6
Perform CharMeasure.measure async
...
This fixes the edge case where getBoundingClientRect was returning a width and
height of 0,0.
Fixes #465
2017-01-10 11:36:22 -08:00
Daniel Imms
411b80cdc0
Add CSI @, E, F, G
2017-01-09 23:06:36 -08:00
Daniel Imms
db81c28bd7
Support more CSI codes, remove unused CSI helper functions
2017-01-09 22:57:38 -08:00
Daniel Imms
c7fa2d55b4
Handle remaining CSI_PARAM cases and introduce the state
2017-01-09 16:07:27 -08:00
Daniel Imms
7572dd5fa6
Remove IInputHandler from CSI_PARAM lambdas
2017-01-09 15:39:56 -08:00
Daniel Imms
9942477bff
Start converting CSI codes
2017-01-09 15:38:54 -08:00
Daniel Imms
635a4d7682
Handle CSI postfix
2017-01-09 15:19:29 -08:00
Daniel Imms
672dc1a251
Start pulling CSI handlers out
2017-01-09 15:17:15 -08:00
Daniel Imms
6deaaa8ef8
Move all parser state handling into the parser
2017-01-09 15:00:37 -08:00
Daniel Imms
f4267c4f74
Merge remote-tracking branch 'upstream/master' into 459_parser__on_460
2017-01-09 14:50:28 -08:00
Daniel Imms
1848fff4c9
Pull charsets out of xterm.js
2017-01-09 14:21:59 -08:00
Daniel Imms
991b2843d3
Fix references to Terminaal and fix TS lint warnings
2017-01-09 13:57:58 -08:00
Daniel Imms
940bd2699e
Fix wcwidth TS errors
2017-01-09 13:48:52 -08:00
Daniel Imms
4a27b9a53f
Move wcwidth into Parser.ts
2017-01-09 13:46:08 -08:00
Daniel Imms
a31921ae73
Move parsing logic into Parser.ts
2017-01-09 13:45:55 -08:00
Daniel Imms
da7ea104de
Merge remote-tracking branch 'upstream/master' into 460_escape_sequence_c0
2017-01-08 17:13:28 -08:00
Daniel Imms
665a11acc0
Add C0.BS handler back
2017-01-08 17:12:35 -08:00
Daniel Imms
dddc91fbcc
Merge remote-tracking branch 'upstream/master' into 425_xon_xoff_on_280
2017-01-08 17:05:19 -08:00
Daniel Imms
ecb892d995
Merge remote-tracking branch 'upstream/master' into 425_xon_xoff_on_280
2017-01-08 17:05:10 -08:00
Daniel Imms
ada96a8373
Merge remote-tracking branch 'upstream/master' into 335_viewport_var
2017-01-08 17:04:18 -08:00
Daniel Imms
9385b9309d
Merge remote-tracking branch 'upstream/master' into 439_wide_char_class
2017-01-08 16:56:47 -08:00
Daniel Imms
a1ee8aefbb
Merge remote-tracking branch 'upstream/master' into 439_wide_char_class
2017-01-08 16:32:51 -08:00
Daniel Imms
659fb90c1c
Handle C0 codes via handler map in Parser
2017-01-08 16:21:51 -08:00
Daniel Imms
04b1ebf1a7
Create InputHandler which performs C0 actions
...
Part of #459
2017-01-08 16:11:35 -08:00
Daniel Imms
1685cf2d8f
Use namespace and const for C0 constants
2017-01-08 16:02:47 -08:00
Daniel Imms
3de3c0c6b6
Pull C0 escape sequences into its own file
...
Part of #460
2017-01-08 15:49:19 -08:00
Daniel Imms
996c25a364
Keep previous terminal events after a reset
...
This broke in the EventEmitter ts conversion, just reverts this line to what
it used to be.
Fixes #451
2017-01-07 16:04:49 -08:00
Daniel Imms
d9d60063d7
Add disableStdin option
...
Fixes #452
2017-01-04 12:43:21 -08:00
Daniel Imms
ff523bfc79
Fix tests
2017-01-04 10:30:04 -08:00
Daniel Imms
94c01ec378
Fix tests
2017-01-04 08:08:59 -08:00
Daniel Imms
2b8820fdac
Further tweaks, add write batching
2017-01-03 15:52:45 -08:00
Daniel Imms
0ec7b661f2
Tweak config values
2017-01-03 15:38:14 -08:00
Daniel Imms
dc5efa886a
Make innerWrite iterative
2017-01-03 15:29:23 -08:00
Daniel Imms
e66b1c5704
Add write buffer pause and refresh frame skip
2017-01-03 15:26:41 -08:00
Daniel Imms
6b8c43ed7f
Send \x13 when a write buffer threadhold is reached
2017-01-03 14:57:13 -08:00
Daniel Imms
b9d374affa
Add XON/XOFF and eparate write from processing
...
Part of #425
2017-01-03 14:57:04 -08:00
Daniel Imms
d2ef19dffe
Remove var usage from Viewport
...
Part of #335
2017-01-03 11:26:59 -08:00
Daniel Imms
efdf37b887
jsdoc
2017-01-03 11:23:36 -08:00
Daniel Imms
6ffb8f545b
Rate limit Viewport.refresh
...
This prevents 1000 scroll events from firing when the buffer is not full
Fixes #444
2017-01-03 11:18:38 -08:00
Daniel Imms
07a8b8f4f7
Fix tests
2016-12-31 18:06:49 -08:00
Daniel Imms
74483fb294
Use CharMeasure in Viewport and to style wide chars
...
Fixes #439
2016-12-31 15:56:57 -08:00
Daniel Imms
4f18d842f9
Add CharMeasure util class
2016-12-31 15:46:17 -08:00
Daniel Imms
188e197e20
Wrap wide chars in a span/class
...
Part of #439
2016-12-31 15:19:54 -08:00
Daniel Imms
7234bfb6eb
Move row evaluation into refreshLoop
...
This allows the refresh public API to still function
2016-12-31 14:58:17 -08:00
Daniel Imms
97feb3321c
Improve refresh queue
...
Use requestAnimationFrame in addition to a queue to refresh every animation
frame but only when a refresh is needed.
Fixes #280
Fixes #290
2016-12-31 14:14:02 -08:00
Daniel Imms
3e1a607179
Convert browser and generic to TS
...
Part of #335
2016-12-31 07:36:56 -08:00
Daniel Imms
c3f46e4a6b
Fix scroll in tmux with max scrollback
...
I believe this is related to when scrollBottom is not the last row in the viewport
Fixes #434
2016-12-31 07:18:50 -08:00
Daniel Imms
965ebde22f
Remove remaining removeListener ref
2016-12-31 07:11:47 -08:00
Daniel Imms
0d9d3aca1a
Remove addListener/removeListener
2016-12-31 07:10:45 -08:00
Daniel Imms
937cf43e09
Remove redundant assignment in constructor
2016-12-31 07:07:45 -08:00
Daniel Imms
dba432d1b6
Add tests
2016-12-29 05:09:47 -08:00
Daniel Imms
2f416371bd
Convert EventEmitter to TS
...
Pat of #335
2016-12-29 04:53:57 -08:00
Daniel Imms
2bfbdb1c06
Sync scroll bar when alt/normal buffer is switched in
...
Fixes #427
2016-12-29 03:55:36 -08:00
Daniel Imms
5d29d4ea22
Remove log
2016-12-28 03:41:48 -08:00
Daniel Imms
a9e1ed5a72
Ensure ydisp does not drop below 0 in refresh
...
Fixes #428
Related to #385
2016-12-28 03:41:12 -08:00
Daniel Imms
50cfe2b21a
Improve header comment
2016-12-27 13:40:52 -08:00
Daniel Imms
d7f2ec89d7
Polish
2016-12-24 03:17:30 -08:00
Daniel Imms
cc5ae8193b
Fix insertLines as max buffer size
2016-12-24 00:26:43 -08:00
Daniel Imms
30a1f1ccb5
Fix issue with max buffer size after vim fix
2016-12-24 00:14:30 -08:00
Daniel Imms
6f7cb990ca
Fix issue with vim scrolling
2016-12-24 00:04:31 -08:00
Daniel Imms
bf16fdc01d
Have reverseIndex use CircularList.shiftElements 🎉
2016-12-21 03:26:40 -08:00
Daniel Imms
969a2e953c
Implement CircularList.shiftElements
2016-12-21 03:18:30 -08:00
Daniel Imms
bfaf9cd6eb
Doc and testing
2016-12-21 02:39:21 -08:00
Daniel Imms
be2e4b5d85
Add missing return type
2016-12-21 02:11:14 -08:00
Daniel Imms
cc0fc953cf
Remove logs
2016-12-22 02:04:31 -08:00
Daniel Imms
3b35d12e60
Fix issue with the git log
...
The old code was assuming that the buffer was not going to change, this is not
true with the current impl though where the list is shifted and ybase and ydisp
need to be compensated for that.
2016-12-22 02:02:05 -08:00