Daniel Imms
ede1d5f7c8
Correctly dispose of Renderer and ScreenDprMonitor
2018-06-21 10:49:03 +10:00
Daniel Imms
7e779cd195
Replace _disposables with Disposable, add jsdoc
2018-06-21 10:29:02 +10:00
Daniel Imms
dfd17be8bb
Introduce Disposable abstract class
2018-06-21 10:24:37 +10:00
Daniel Imms
a44f496ec7
Rename dom listener function for better clarity
2018-06-21 10:05:40 +10:00
Daniel Imms
c0f4a8eb7c
Move Dom listener helper to ui/
...
Part of #1518
2018-06-21 10:03:53 +10:00
PowerHat
4809b04f26
Merge branch 'master' into master
2018-06-20 14:51:52 +02:00
Benjamin Raymond
c345dba591
#1521 : added 'savedCurAttr' property in 'Terminal' class which holds the saved state of the character attributes ('ESC 7' escape sequence code)
2018-06-20 13:58:53 +02:00
Daniel Imms
91cf9e1ba8
Move .strings to public/
2018-06-20 19:46:04 +10:00
Daniel Imms
6c3b6b4655
Ensure drawBoldTextInBrightColors redraws screen
2018-06-12 17:54:26 +02:00
Daniel Imms
57959249d8
Resolve todos
2018-06-12 17:17:21 +02:00
Daniel Imms
bb4db71958
Rename base/ to common/
2018-06-12 17:07:43 +02:00
Daniel Imms
6a3ed43ad2
Move EscapeSequences into base
2018-06-10 16:56:29 +01:00
Daniel Imms
d29a527724
Introduce the public module
2018-06-10 16:40:36 +01:00
Daniel Imms
95217ca931
Remove core/input/Keyboard's dep on Terminal
2018-06-10 12:33:50 +02:00
Daniel Imms
b4ccbe042b
Pull keyboard event translation into core
2018-06-10 11:52:25 +02:00
Daniel Imms
e167686b6d
Remove conversion step, KeyboardEvent implements IKeyboardEvent
2018-06-10 11:45:50 +02:00
Daniel Imms
b6481f120b
Introduce IKeyEvent
2018-06-10 11:03:37 +02:00
Daniel Imms
432c2cc369
Nullify and remove mouse handlers when mouse move it exited
...
Fixes #998
2018-06-08 17:36:04 +02:00
Bruno Ribeito
8f91e3bcde
Fix #829
2018-06-06 08:02:26 +01:00
Daniel Imms
0f488e59d7
Merge branch 'master' into all_options
2018-06-03 07:43:27 -07:00
Daniel Imms
2aff2eb710
Merge branch 'master' into more_naming_conventions
2018-06-03 07:23:14 -07:00
Daniel Imms
c748b02111
Add rendererType
2018-06-03 16:21:23 +02:00
Daniel Imms
73e35b9293
Merge branch 'master' into all_options
2018-06-03 07:19:51 -07:00
Daniel Imms
52be55852e
Merge branch 'master' into 1360_dom_renderer
2018-06-03 06:58:08 -07:00
Daniel Imms
2d786910c8
Correctly set cols/rows
2018-06-03 11:10:11 +01:00
Daniel Imms
5b04451b05
console error on setting ctor only option via setOption
2018-06-03 11:02:39 +01:00
Daniel Imms
fea8ba03b8
Finish removing all implicit anys
2018-06-02 19:02:54 -07:00
Daniel Imms
918ee16f86
Don't set options on terminaol object itself
2018-06-02 18:47:04 -07:00
Daniel Imms
b79ab7212c
Remove a bunch of implicit anys
2018-06-02 18:39:05 -07:00
Jeff Principe
eabb25c796
add ability to register/deregister character joiner
2018-06-02 10:24:52 -07:00
Lukas Geiger
8989a09853
Prefer const vs let for variables that are only declared once
...
Requires that variable declarations use `const` instead of `let` and `var` if possible.
This is mostly for code readability, performance wins are debatable.
2018-05-30 19:47:28 +02:00
Daniel Imms
c2b5a243f2
Refactor and add some tests to dom renderer
2018-05-26 08:15:40 -07:00
Daniel Imms
20975278c5
Merge remote-tracking branch 'ups/master' into 1360_dom_renderer
2018-05-26 07:25:08 -07:00
Daniel Imms
85dada2eed
Merge remote-tracking branch 'origin/master' into 1360_dom_renderer
2018-05-21 09:41:21 -07:00
Daniel Imms
ab5fc98627
Merge branch 'master' into more_naming_conventions
2018-05-21 08:06:52 -07:00
Daniel Imms
c1f8225c4f
Merge branch 'master' into new_parser
2018-05-21 07:30:35 -07:00
Benjamin Woodruff
7f761b5b9e
Merge branch 'master' into dynamic-char-atlas
...
I did a bunch of testing of various ansi escape codes (including
italics) with all three char atlas implementations (none, static,
dynamic), with and without `drawBoldTextInBrightColors`, and with and
without `enableBold` to test all of the edge cases that I could.
2018-05-17 22:42:52 -07:00
Daniel Imms
f8e9d02566
Merge branch 'master' into more_naming_conventions
2018-05-16 09:45:42 -07:00
Daniel Imms
d8afdb1b6b
Merge branch 'master' into new_parser
2018-05-15 13:21:33 -07:00
Daniel Imms
f055e0ef03
Throw exception for unrecognized renderer type
2018-05-15 10:10:34 -07:00
Daniel Imms
2f618b37c1
Merge branch 'master' into 1360_dom_renderer
2018-05-15 10:08:09 -07:00
Benjamin Woodruff
9893338020
Add drawBoldTextInBrightColors to DEFAULT_OPTIONS
...
This lets term.setOption() work for drawBoldTextInBrightColors.
2018-05-08 18:34:23 -07:00
Daniel Imms
3cab8bede1
Merge branch 'oncharsizechanged' into 1360_dom_renderer
2018-05-02 15:05:42 -07:00
Daniel Imms
20ff107768
Call IRenderer.onCharSizeChanged at right time
...
Even though Renderer just defers this to onResize, future IRenderer
implementations may take advantage of onCharSizeChanged specifically.
2018-05-02 15:00:42 -07:00
Daniel Imms
16393b228d
Initial DOM renderer implementation
2018-05-02 13:32:22 -07:00
Jörg Breitbart
aeae688b4c
multiple changes in InputHandler:
...
- remove prefix/postfix
- optional collect arg where needed
- tempPrefix handler removed
- replaced .bind with () => notation
- moved callback registering to ctor again
2018-05-01 14:32:08 +02:00
Jörg Breitbart
af392a6305
cleanup, some docs, temp fix for InputHandler tests
2018-04-30 23:35:54 +02:00
Jörg Breitbart
ba6fcddc43
real merge of InputHandler and ParserTerminal
2018-04-30 17:04:29 +02:00
Jörg Breitbart
2d77fcf2fb
merge ParserTerminal with InputHandler
...
- quick'n dirty merge of classes - ParserTerminal is subclass of InputHandler
- basic fallback handlers implemented
- test regressions due to multiple changes in EscapeSequenceParser
- runtime down to 2.3s
- TODO: fix tests, implement DCS functions, full merge of classes
2018-04-29 19:10:47 +02:00
Daniel Imms
aaaec75d73
Add remaining naming conventions into tslint
2018-04-26 13:54:20 -07:00