Jeff Principe
b35fa9576e
Enforce strict equality through tslint
2018-08-22 19:36:40 -07:00
Daniel Imms
a003a0c585
Merge remote-tracking branch 'origin/master' into 1579_emit_pos_directly
2018-08-06 11:21:35 -07:00
Daniel Imms
c65dd1f476
Use const for null cell
...
Fixes #1584
2018-07-29 13:05:27 -07:00
Daniel Imms
1c4cb8c620
Reinstate IInputHandlingTerminal
...
Fixes #1587
2018-07-27 11:46:09 -07:00
Daniel Imms
fec66c7dac
Remove Terminal.send
2018-07-27 11:32:11 -07:00
Jeff Principe
63b3a6f323
Factor logic into registry, make matches cell-based and document
2018-07-08 11:30:54 -07:00
Daniel Imms
6d9d2a3304
Merge remote-tracking branch 'origin/master' into pr/princjef/1460
2018-07-03 11:50:07 -07:00
Daniel Imms
100143bd02
Merge branch 'master' into 1518_memory
2018-06-28 10:29:07 -07:00
Daniel Imms
d585515de1
Move RenderDebouncer and ScreenDprMonitor into ui
2018-06-23 17:34:01 +10:00
Daniel Imms
8dda3e68f8
MOve CharMeasure into ui/
2018-06-23 17:32:32 +10:00
Daniel Imms
4c7e5d2201
Move CircularList to common (tests in ui/ need)
2018-06-23 17:27:34 +10:00
Daniel Imms
545d0782c9
Properly register and dispose of majority of remaining listeners
2018-06-21 11:07:29 +10:00
Daniel Imms
ede1d5f7c8
Correctly dispose of Renderer and ScreenDprMonitor
2018-06-21 10:49:03 +10:00
Daniel Imms
c0f4a8eb7c
Move Dom listener helper to ui/
...
Part of #1518
2018-06-21 10:03:53 +10:00
7PH
285b0b6702
#1521 : added 'savedCurAttr' attribute to 'MockInputHandlingTerminal' class
2018-06-20 14:23:05 +02:00
Daniel Imms
52be55852e
Merge branch 'master' into 1360_dom_renderer
2018-06-03 06:58:08 -07:00
Daniel Imms
75a45808c3
Merge branch 'master' into 1456_triple_click_wrapped
2018-06-03 06:04:41 -07:00
Daniel Imms
4dff828374
Add @types/glob
2018-06-03 07:15:45 +01:00
Daniel Imms
b79ab7212c
Remove a bunch of implicit anys
2018-06-02 18:39:05 -07:00
Daniel Imms
285911cd98
Implement IBuffer.getWrappedRangeForLine
...
Part of #1456
2018-06-02 17:53:35 -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
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
9593cb0cc8
readonly lines; fix for MockBuffer
2018-04-23 22:40:24 +02:00
Daniel Imms
e5ee76ded4
Remove terminal references on dispose
...
Part of #1341
Fixes #1370
2018-04-04 11:51:50 -07:00
Lucian Buzzo
55d6daf8ee
Do not mutate options object used in constructor
...
Connects to #1322
change-type: patch
2018-03-24 16:25:02 +00:00
Daniel Imms
63f24be2b9
Merge branch 'master' into 1325_marker_api
2018-03-20 19:02:52 -07:00
Daniel Imms
1fd7348938
Merge branch 'master' into unused_func
2018-03-20 19:00:24 -07:00
Marek Libra
b67b65cd1e
Replace inline-styles by external CSS
...
Selected inline-styles were externalized to xterm.css.
The `Terminal._charSizeStyleElement` is removed since it
was not used anymore.
Fixes: https://github.com/xtermjs/xterm.js/issues/1335
2018-03-20 13:45:08 +01:00
Daniel Imms
5d1f744282
Remove unused function
2018-03-19 08:20:28 -07:00
Daniel Imms
b80832ac4c
Initial marker API implementation
...
Part of #1325
2018-03-16 12:53:55 -07:00
Daniel Imms
4443ed69c7
Add noUnusedLocals tsconfig flag, fix issues
...
Two parts were commented out:
- _writeStopped: This is because _xoffSentToCatchUp references this variable
and the feature is sort of half implemented/disabled.
- _clearChar: This is because some comments still reference this, it's part
of the work needed to do better line redrawing.
2018-03-08 10:56:10 -08:00
Daniel Imms
289b4eeb23
Merge branch 'master' into 426_alt_scroll
2018-03-08 05:37:16 -08:00
Daniel Imms
b20fe80f9b
Merge pull request #1308 from bgw/rm-did-char-size-change
...
Remove didCharSizeChange logic from renderer
2018-03-08 05:10:53 -08:00
Daniel Imms
e137530581
Scroll by exact line amount in alt buffer, unify scroll logic
...
Fixes #1304
2018-03-05 14:22:20 -08:00
Daniel Imms
7c471f5389
Fix test compile
2018-03-05 11:32:05 -08:00
Benjamin Woodruff
18fb134910
Remove didCharSizeChange logic from renderer
...
The only thing `didCharSizeChange` was used for was to figure out if we
need to refresh the character atlas or not. However, `acquireCharAtlas`
already inspects the atlas owned by this terminal, and if it matches, it
avoids generating a new atlas.
So if `didCharSizeChange` is true and it's not needed, it quickly bails
out as a no-op. But if `didCharSizeChange` is false, and it was needed
(possible given the complexity of testing all of these edge cases), it
could introduce a bug.
I think it makes sense to just get rid of `didCharSizeChange`, and just
always call `acquireCharAtlas`.
2018-03-04 20:55:42 -08:00
Daniel Imms
1972bf4bb3
Merge remote-tracking branch 'ups/master' into 1181
2018-02-21 14:36:11 -08:00
Daniel Imms
f089b997c0
Merge branch 'master' into 731_screen_reader
2018-02-14 09:03:31 -08:00
Thomas Zilz
dc759a93bc
Support setting padding on the .xterm element ( #1208 )
...
* Support padding on the .xterm element
2018-02-06 12:31:17 +01:00
Daniel Imms
a0f390ef54
Expose strings through the API
2018-01-28 13:10:11 -08:00
npezza93
aeae40e110
Use the terminal and circular list interface
2018-01-28 12:38:20 -05:00
Daniel Imms
963db4d2fd
Remove navigation mode/more rows element
2018-01-27 14:48:45 -08:00
Daniel Imms
b9976c3d17
Merge remote-tracking branch 'origin/master' into 731_screen_reader
2018-01-26 10:24:09 -08:00
Daniel Imms
2e23dd34e0
Move xterm-internal types back into Types.ts files
2018-01-25 11:06:52 -08:00
Daniel Imms
177edfa66e
Merge interfaces and types files
2018-01-25 10:03:28 -08:00
Daniel Imms
7358890a31
Merge remote-tracking branch 'ups/master' into 1221_iterminal_typings
2018-01-25 09:45:13 -08:00
Daniel Imms
a22b5c0faa
Merge remote-tracking branch 'ups/master' into 955_worker_refactor
2018-01-25 07:16:00 -08:00
Daniel Imms
b97cedcf5b
Merge remote-tracking branch 'origin/master' into 731_screen_reader
2018-01-19 14:01:37 -08:00