Jörg Breitbart
c7fdff2f40
several changes:
...
- missing escape sequence related methods in InputHandler implemented
- created namespace for C1 control codes
2018-05-01 17:50:41 +02:00
Jörg Breitbart
2eeb7b8ea5
ESC and OSC method entries for InputHandler
2018-05-01 16:36:12 +02:00
Jörg Breitbart
0535f5d1b3
unified method signature in InputHandler, moved some CSI condition into methods (FIXME: needs intermediate handler)
2018-05-01 14:58:16 +02: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
826cca7088
fix import issue
2018-04-30 01:32:49 +02:00
Jörg Breitbart
dc14f5226d
fix InputHandler
2018-04-29 19:34:43 +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
Jörg Breitbart
f9767073ba
new parser
2018-04-24 00:21:27 +02:00
Jörg Breitbart
6ff4ae7194
revert to local const buffer
2018-04-23 22:06:24 +02:00
Jörg Breitbart
13d4ab6f8d
remove remnant
2018-04-23 18:32:32 +02:00
Jörg Breitbart
0d7ecd9129
prefetch row in addChar
2018-04-23 18:26:06 +02:00
Jörg Breitbart
dd096c2e8b
const buffer
2018-04-23 17:19:42 +02:00
Jörg Breitbart
2bfe74490a
make .buffer local where appropriate
2018-04-23 16:29:19 +02: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
f089b997c0
Merge branch 'master' into 731_screen_reader
2018-02-14 09:03:31 -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
1dce76dbbb
Add curly to tslint, fix errors
...
Fixes #1248
2018-01-25 12:17:59 -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
b97cedcf5b
Merge remote-tracking branch 'origin/master' into 731_screen_reader
2018-01-19 14:01:37 -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
307dd0fd68
Add several tslint rules
2018-01-17 10:32:35 -08:00
Daniel Imms
bb830eb1ae
Rate limit row refresh, tweak live region
2018-01-05 07:39:45 -08:00
Daniel Imms
8cb7a9dabe
Merge remote-tracking branch 'origin/v3' into 731_screen_reader
2018-01-03 09:09:42 -08:00
Daniel Imms
d03f5b0c2a
Range of improvements for macOS VoiceOver
2017-12-19 15:16:28 -08:00
Daniel Imms
aaf0991195
Make lineFeed event lowercase
...
Fixes #1159
2017-12-19 13:25:26 -08:00
Daniel Imms
399779692d
Initial prototype
2017-12-19 12:57:58 -08:00
Daniel Imms
bc424b2f37
Merge pull request #1097 from jdanbrown/pr-bracketedpaste
...
Support bracketed paste mode
2017-11-09 11:05:05 -08:00
Bruno Ribeito
354b857bbe
Fix spacing
2017-11-06 20:40:28 +00:00
Bruno Ribeito
e18416a636
Fix #800
2017-11-06 20:11:23 +00:00
Martin Koppehel
4b46a777d7
Fix deleteChars not updating the view
...
When deleting a character in a line and moving the cursor to
another line afterwards, the deletion is not rendered.
This commit adds the line where the character was deleted
to the refresh range to enforce an update
2017-11-05 10:31:35 +01:00
Dan Brown
1dbcf70cee
Support bracketed paste mode
...
- As described in https://cirw.in/blog/bracketed-paste
- Example support in vim:
- https://github.com/ConradIrwin/vim-bracketed-paste/blob/master/plugin/bracketed-paste.vim
- http://vimdoc.sourceforge.net/htmldoc/term.html#raw-terminal-mode
- Required for e.g. ipython, via python-prompt-toolkit:
- https://github.com/ipython/ipython
- https://github.com/jonathanslenders/python-prompt-toolkit
Repro:
- Run `ipython` (version 6.2.1)
- Copy multiple lines of text and paste into ipython prompt, e.g.
```py
print(1)
print(2)
print(3)
```
- Before: first line would paste and run, and subsequent lines are lost
- After: all lines paste into single prompt
2017-10-30 00:26:50 -07:00
Thomas Zilz
b6c886837f
Add support for dimmed characters (faint) ( #1043 )
...
* Add support for dimmed character style
2017-10-11 20:24:26 +02:00
Daniel Imms
948eedba89
Merge pull request #938 from Tyriar/canvas_render
...
Render using canvas
2017-09-08 11:07:59 -07:00
Daniel Imms
75b91c618e
Update license text
2017-09-08 10:16:42 -07:00
Thomas Zilz
4eb356f6be
Fix CSI Ps M to delete the correct line
2017-09-07 17:13:15 +02:00
Daniel Imms
17731c3de3
Support multiple links in a line, fix Linkifier tests
2017-09-03 13:56:53 -07:00
Daniel Imms
5ce39d3c81
GPU ascii rendering
2017-08-30 19:12:29 -07:00
Daniel Imms
a57e511fa3
Properly setup and maintain tab stops for the alt buffer
...
Fixes #930
2017-08-29 21:08:11 -07:00
npezza93
8a6bff42c9
Remove bellAudioElement if it is not used. Remove extra import
2017-08-17 18:27:49 -04:00
npezza93
1d6f71d680
Fix bad merge
2017-08-16 20:39:28 -04:00
npezza93
fd51d0acf3
Preload bell audio
...
Allow the bellSound to be more easily configurable. You can pass false
to the bellSound and no sound will be played or you can pass it any
source you'd like.
2017-08-16 20:39:26 -04:00
npezza93
0eab4d68f6
Rename Bell.ts to Sounds that has BellSound constant
2017-08-16 20:39:21 -04:00
npezza93
245f62685a
If bell() gets called emit bell event and add default bell sound
2017-08-16 20:39:15 -04:00
Daniel Imms
996eb1b06f
Merge remote-tracking branch 'ups/v3' into 847_proper_scrollback_value
2017-08-08 19:05:24 -07:00
Daniel Imms
fd61c8e874
Use a const for all refs to data char and width
...
Part of #791
2017-08-07 15:40:48 -07:00