Commit Graph
78 Commits
Author SHA1 Message Date
Daniel Imms bfa7a2df76 Move handler into CoreService and adopt
This also fine tunes some of the data events to not clear selection
and scroll to the bottom of the viewport anymore.

Part of #1507
Fixes #2112
2019-06-23 10:10:17 -07:00
Daniel Imms 9174f60d94 Move screen element into ctor 2019-06-21 20:20:48 -07:00
Daniel Imms 6e90b7371b Move SelectionModel to browser, fix strict 2019-06-15 23:28:51 -07:00
Daniel Imms a4d18a3b23 Introduce mouse service 2019-06-15 19:40:51 -07:00
Daniel Imms 4330741c5d Move CellData into new file 2019-06-14 22:51:08 -07:00
Daniel Imms e21826f6cb Move MouseHelper.test into browser 2019-06-08 19:40:18 -07:00
Daniel Imms b1eecf10ff Remove relative imports with common 2019-06-08 18:05:12 -07:00
Daniel Imms 9a237cb205 Move BufferSet* into common 2019-06-08 18:00:04 -07:00
Daniel Imms 658cd987d9 Move Buffer.test and test utils to common 2019-06-08 17:56:55 -07:00
Daniel Imms 50378403cf Move Buffer to common 2019-06-08 17:43:40 -07:00
Daniel Imms 5c93f2971e Move buffer types to common 2019-06-08 17:17:17 -07:00
Daniel Imms 291fc7368d Fix remaining tests 2019-06-08 17:12:18 -07:00
Daniel Imms c44524b553 Use MockBufferService in tests 2019-06-08 17:06:43 -07:00
Daniel Imms cd61f95612 Adopt options service in buffer 2019-06-08 16:46:03 -07:00
Daniel Imms f8e7ff24d9 Merge core into common
Part of #1507
2019-06-08 16:09:27 -07:00
Daniel Imms 0f2d560e01 Adopt in SelectionManager 2019-06-08 15:26:53 -07:00
Daniel Imms 49c8270b1c Use absolute paths for modules in root project 2019-05-26 11:46:58 -07:00
Daniel Imms 228ec7b818 Move BufferLine into core 2019-05-09 22:15:32 -07:00
Daniel Imms f381cdfc33 Move a bunch of types to core 2019-05-09 21:57:33 -07:00
Daniel Imms 362152004b Move files not in ui project back to root 2019-04-28 02:28:20 +00:00
Jörg Breitbart acea73c8ac Merge branch 'master' into utf32_buffer 2019-01-27 19:02:09 +01:00
Jörg Breitbart ece7192db7 remove set with CharData from codebase and deprecate method 2019-01-12 16:15:24 +01:00
Daniel Imms 338558d86c Make Terminal API properties readonly
Fixes #1867
2018-12-31 20:09:48 -08:00
Daniel Imms b9a22eb468 Remove utils/ folder
Part of #1507
2018-12-10 16:46:57 -08:00
Daniel Imms a480f483cd Add tests 2018-11-16 17:54:03 -08:00
Jörg Breitbart 841a33be28 remove push/pop/splice calls to BufferLine 2018-08-31 04:40:08 +02:00
Jörg Breitbart 71f5965f8e move to BufferLine.ts 2018-08-30 17:55:04 +02:00
Jörg Breitbart 59fc4af9a0 IBufferLine interface 2018-08-30 17:52:45 +02:00
Jörg Breitbart 77cb697990 remove <any> casts for .isWrapped 2018-08-26 16:04:52 +02:00
Jörg Breitbart a99cac45f7 fix import errors 2018-08-25 22:56:15 +02:00
Jörg Breitbart 0340d91150 first step to buffer redesign: class TerminalLine; discourage low level index access to cells 2018-08-25 22:41:42 +02:00
Daniel Imms 67d6ad57c3 Add tests 2018-07-26 12:23:34 -07:00
Daniel Imms e628a9be76 Fix emoji test 2018-06-29 11:25:17 -07:00
Daniel Imms 835d5a16ea Fix build after merge 2018-06-29 11:17:45 -07:00
Viraj Sinha 3202ddc96d Adds support for column selections if holding alt on mac and shift on windows/linux 2018-06-28 15:55:44 -07:00
Daniel Imms 956b773421 Add more tests, fix boundary bug 2018-06-02 18:07:49 -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 cbc6d7ce32 Add selectLines test 2018-03-16 15:56:48 -07:00
Daniel Imms b794dc017d Fix test 2018-03-08 11:08:51 -08: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 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 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 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 25972d1e06 Merge branch 'master' into feature-778 2018-01-05 11:03:33 -08:00
npezza93 f65aeba684 Override MockTerminals emit to do nothing 2017-12-27 13:53:27 -05:00
Bruno Ribeito 2865d935b6 Adress feedback 2017-11-07 21:21:44 +00:00
Daniel Imms b1214063d2 Add more complex emoji selection tests 2017-09-30 10:00:18 -04:00
Daniel Imms e0c28bc7d2 Fix selecting words containing ZWJ emojis 2017-09-30 09:32:33 -04:00