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
bf4dd7de60
Merge branch 'master' into 1287_double_click_exception
2018-03-06 09:28:47 -08:00
Daniel Imms
ae28814041
Check for valid coords before getting word at coords
...
Fixes #1287
2018-02-16 21:34:57 -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
cab097c09c
Clean up condition for readability
2018-02-01 17:28:08 -08:00
Daniel Imms
43adf0ef70
Merge branch 'master' into feature-778
2018-02-01 17:21:04 -08:00
Daniel Imms
3c6cab1491
Clear selectionEnd when selecting word at cursor
2018-02-01 17:20:33 -08:00
Bruno Ribeito
5550bfd90b
Fix is click in selection
2018-02-01 21:37:06 +00:00
Bruno Ribeito
983af8fac2
Use _selectWordA
2018-01-31 00:01:46 +00:00
Daniel Imms
bbac1801e5
Small clean up
2018-01-28 17:33:51 -08:00
Daniel Imms
e8666cafc9
Small clean up
2018-01-28 14:44:33 -08:00
npezza93
f726c1fd0d
Allow selection and alt click to live conflict free
2018-01-28 13:06:54 -05:00
Daniel Imms
b9976c3d17
Merge remote-tracking branch 'origin/master' into 731_screen_reader
2018-01-26 10:24:09 -08:00
Bruno Ribeito
e6c6e0766a
Fix usage of allowWhitespaceOnlySelection variable
2018-01-25 21:00:10 +00:00
Daniel Imms
3a3f3db56e
Merge remote-tracking branch 'ups/master' into feature-778
2018-01-25 11:58:46 -08:00
Daniel Imms
2e23dd34e0
Move xterm-internal types back into Types.ts files
2018-01-25 11:06:52 -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
6e3cd2cb23
Fix indentation
2018-01-19 12:34:32 -08:00
Daniel Imms
e4abd4dd8a
Move Shared interfaces into a new typings file
...
This will enable sharing the internal interface with addons (and catching
breakages early)
2018-01-19 09:48:33 -08:00
Andres Mejia
5133f25fb7
Fix issue with resetting terminal.
...
Ensure new BufferSet is used and clear selection manager on reset.
2018-01-18 17:48:29 -05:00
Daniel Imms
cfd00529eb
Various fixes
...
- Add buffers being retained on full reset (CIS)
- Remove setup event, simplify
- Only have one trim listener active at once
- Disallow activate events if nothing changed (just in case)
2018-01-18 17:48:29 -05:00
Andres Mejia
a9b7ef5dc3
Clear selection manager when the terminal switches its buffer set or buffer.
2018-01-18 17:48:29 -05:00
Andres Mejia
90c8c85c09
Fix issue with resizing terminal.
...
Need to ensure the active buffer is always being used.
Fixes https://github.com/xtermjs/xterm.js/issues/824 .
2018-01-18 17:48:28 -05:00
Daniel Imms
d0ef868215
Refactor char atlas to enable generation with worker
...
This doesn't actually add workers but it separates the code nicely
such that the minimal amount of relevant code can be pulled in by
worker code.
Part of #955
2018-01-06 13:43:34 -08:00
Daniel Imms
25972d1e06
Merge branch 'master' into feature-778
2018-01-05 11:03:33 -08:00
Daniel Imms
80a1c2bd50
Merge branch 'master' into 1152_npe_selection_manager_2
2018-01-05 10:58:22 -08:00
npezza93
4d16c5e9e8
Move selection event emission to the terminal object
2017-12-27 11:36:05 -05:00
Daniel Imms
cf2116ff6a
Prevent dragging from setting selection y over bounds
...
Fixes #1152
2017-12-27 08:08:28 -08:00
Bruno Ribeito
6822070222
Fix typo + Cleanup logic
2017-11-12 23:15:09 +00:00
Bruno Ribeito
18b86a1cbc
Do the selection even if there is already a selection
2017-11-08 23:27:00 +00:00
Bruno Ribeito
2865d935b6
Adress feedback
2017-11-07 21:21:44 +00:00
Bruno Ribeito
fc7cf6b917
Adress feedback
2017-11-07 21:08:21 +00:00
Bruno Ribeito
1877e7019d
Implement #778
2017-11-06 23:20:57 +00:00
Bruno Ribeito
923bb05b8d
Fix #1093
2017-11-06 21:02:53 +00:00
Daniel Imms
8478aa7a51
Fix selection on bottom right char when mouse goes outside viewport
...
Part of #1029
2017-11-05 12:18:59 -08:00
Daniel Imms
3921457bf3
Merge pull request #1104 from Tyriar/902_scrollLines_api
...
Replace scrollDisp with the more descriptive scrollLines
2017-11-04 20:43:06 -07:00
Daniel Imms
05cbe41d39
scrollDisp -> scrollLines
...
Fixes #902
2017-11-04 03:20:24 -07:00
Daniel Imms
d81df46453
Don't send mouse events when selection is forced
...
Fixes #1090
2017-10-27 16:48:00 -07:00
Daniel Imms
29be4f6a92
Merge remote-tracking branch 'ups/v3' into 1015_fix_emoji_selection
2017-10-01 05:54:10 -07:00
Daniel Imms
da4e3e6e9f
Improve documentation on word selection
2017-09-30 09:45:11 -04:00
Daniel Imms
e0c28bc7d2
Fix selecting words containing ZWJ emojis
2017-09-30 09:32:33 -04:00
Daniel Imms
58259f8bd9
Fix select word on wide characters
2017-09-30 08:30:19 -04:00
Daniel Imms
4828c4a6fa
Clean up logs/comments
2017-09-30 08:02:03 -04:00
Daniel Imms
feb2b958a4
Mostly emoji selection
...
Selection is not aware of characters that have a size greater than 1.
When the emoji is at the start of the selection it still doesn't work.
Fixes #1015
2017-09-30 06:13:58 -04:00
Daniel Imms
a8174398f5
Calculate mouse coordinates using correct char dimensions
...
Previously the Mouse class was using raw CSS pixels, we need CSS pixels based
on the amount of space the cells take up on the canvas
See Microsoft/vscode#35114
2017-09-28 17:23:45 -04:00
Daniel Imms
73d3164426
Fix alt+selection while mouse events are enabled
...
Fixes #970
2017-09-12 20:00:25 -07:00
Daniel Imms
75b91c618e
Update license text
2017-09-08 10:16:42 -07:00
Daniel Imms
e123dd1849
Null check if clicking on scroll bar
2017-09-03 21:15:14 -07:00