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
a003a0c585
Merge remote-tracking branch 'origin/master' into 1579_emit_pos_directly
2018-08-06 11:21:35 -07:00
Daniel Imms
fec66c7dac
Remove Terminal.send
2018-07-27 11:32:11 -07:00
Daniel Imms
bdfe877c8f
Remove jsdoc types
...
They're redundant in TS/tsdoc
2018-07-24 08:59:20 -07: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
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
npezza93
4edbd507e5
Check if endCol and endRow are present before handling an alt click
2018-05-09 19:35:02 -04:00
npezza93
b162582e66
Handle if getCoords returns null in the AltClickHandler
...
Fixes #1397
2018-05-09 19:31:19 -04:00
Daniel Imms
3713d282d8
Fix conflicts
2018-04-24 10:55:53 -07:00
Daniel Imms
fcde7be62a
Enforce const enums
...
Fixes #1408
2018-04-23 17:35:41 -07:00
Daniel Imms
9942dc384d
Enforce upper case for public const/enum members
...
Fixes #1406
2018-04-23 17:17:21 -07:00
Daniel Imms
9e863d0377
Add no else return tslint rule
2018-04-23 11:52:42 -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
855964fbe1
Merge pull request #1296 from olsonpm/fix-paste-newline
...
Paste newlines as \r
2018-03-08 05:02:31 -08:00
Daniel Imms
9e62c8692f
Only move horizontally on alt click in normal buffer
...
Fixes #1305
2018-03-05 11:11:54 -08:00
Philip Olson
bc35f28f51
Paste newlines as \r
...
Fix issue where non-windows OS terminals don't paste newlines correctly
into misbehaving programs. As noted in JetBrains/jediterm#136 , the
most practical solution is for terminals to handle this in their paste
logic. In a perfect world, all terminal programs would implement
bracketed paste mode properly, but that's a lot to ask.
- translate newlines to \r which is what terminal programs expect
2018-02-22 23:52:45 -06:00
Daniel Imms
43adf0ef70
Merge branch 'master' into feature-778
2018-02-01 17:21:04 -08:00
Paris Kasidiaris
f2fe8ca08b
Merge pull request #896 from npezza93/alt-click
...
Alt+click will move the prompt cursor to that position
2018-01-29 11:58:46 +02:00
Daniel Imms
bbac1801e5
Small clean up
2018-01-28 17:33:51 -08:00
Daniel Imms
a6a4bf0817
Merge remote-tracking branch 'ups/master' into feature-778
2018-01-28 17:25:46 -08:00
Daniel Imms
e8666cafc9
Small clean up
2018-01-28 14:44:33 -08:00
npezza93
3bdc069f19
Set copyright header to 2018
2018-01-28 13:16:20 -05:00
npezza93
e60704255f
Fix lints
2018-01-28 13:00:11 -05:00
npezza93
aeae40e110
Use the terminal and circular list interface
2018-01-28 12:38:20 -05:00
npezza93
08af2ebeea
Utilize enum to simplify sequence generation
2018-01-28 12:29:52 -05:00
npezza93
0202659c38
Set terminal and mouseevent inside constructor args
2018-01-28 10:48:08 -05:00
npezza93
edadb6e0f1
Update the copyright header
2018-01-28 10:44:01 -05:00
Daniel Imms
65b6901170
Fix compile error
2018-01-27 21:51:13 -08:00
npezza93
14725d0b0d
Merge remote-tracking branch 'upstream/master' into alt-click
2018-01-27 22:38:12 -05:00
npezza93
c41a4b5168
Move repeat import
2018-01-27 22:37:57 -05:00
npezza93
d61aa6e470
Fix lints
2018-01-27 22:37:31 -05:00
npezza93
544fa67851
Move repeat out of generic
2018-01-27 22:36:53 -05:00
npezza93
6a48022a45
Don't reset starting position if the row is not moved.
...
Mainly due to the normal buffer
2018-01-27 22:28:41 -05:00
npezza93
a4ee723665
Fix backward row/col definition
2018-01-27 22:06:58 -05:00
npezza93
833d814499
Refactor alt-click to work independently of which buffer is being used
2018-01-27 21:30:53 -05:00
sitzmar
069b489fb6
adjust timeout to ensure right-click event has fired
2018-01-26 08:04:59 -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
npezza93
027bc9535e
Pass false for isSelection so the right half of the cell wont select the next element
2018-01-23 20:57:31 -05:00
npezza93
8d41c4c603
Fix lints
2018-01-23 20:12:39 -05:00
npezza93
7e0a484000
Handle going back and up in the alt buffer from a long line to a short line
2018-01-23 20:12:39 -05:00
npezza93
14498104fc
Alt+click will move the prompt cursor to that position
...
Fixes #890
2018-01-23 20:12:39 -05: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
Daniel Imms
25972d1e06
Merge branch 'master' into feature-778
2018-01-05 11:03:33 -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