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
Daniel Imms
12e7f80037
Move Charsets to core
2018-06-10 16:53:28 +01:00
Daniel Imms
2aff2eb710
Merge branch 'master' into more_naming_conventions
2018-06-03 07:23:14 -07:00
Daniel Imms
724aa9d6c7
Fix compile and lint
2018-05-21 08:17:07 -07:00
Jörg Breitbart
ba6fcddc43
real merge of InputHandler and ParserTerminal
2018-04-30 17:04:29 +02:00
Daniel Imms
fcde7be62a
Enforce const enums
...
Fixes #1408
2018-04-23 17:35:41 -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
1dce76dbbb
Add curly to tslint, fix errors
...
Fixes #1248
2018-01-25 12:17:59 -08:00
Daniel Imms
177edfa66e
Merge interfaces and types files
2018-01-25 10:03:28 -08:00
Damien Tournoud
981da3d9e6
Fix parser not resetting state for some escape sequences
2017-12-02 20:45:23 -08:00
Daniel Imms
75b91c618e
Update license text
2017-09-08 10:16:42 -07:00
Daniel Imms
076156b66e
Properly support blinking cursors
2017-09-01 12:59:18 -07:00
Daniel Imms
b5fc054fa5
Prevent exception switching to alt buffer before open()
...
Fixes #892
2017-08-17 08:36:08 -07:00
Daniel Imms
a0ce9a79a9
Build and export TS declaration files
...
Fixes #866
2017-08-07 23:48:58 -07:00
Daniel Imms
f9fce53cc4
Add typedef tslint rule
2017-08-05 13:56:38 -07:00
Daniel Imms
e6b431d92f
Add one-variable-per-declaration tslint rule
...
Multiple declarations per line makes it more difficult to read what
exactly is declared and generally makes code more verbose and less
likely to fill in types
2017-08-05 02:42:49 -07:00
Daniel Imms
604959a319
Fix save and restore cursor behavior
...
This broke in #717 .
Fixes #818
2017-07-27 16:28:27 -07:00
Paris Kasidiaris
4626e19b75
Move scrollTop and scrollBottom into Buffer
2017-07-16 03:47:15 +03:00
Paris Kasidiaris
73b4bfb5f8
Fix some references
2017-07-16 03:47:15 +03:00
Daniel Imms
2c3d98abc8
Fix bug with parser state when using vtop
...
Fixes #662
2017-05-25 09:36:59 -07:00
Daniel Imms
d2b0d514f8
Add missing semi-colons
2017-05-21 13:51:02 -07:00
Daniel Imms
13088f55a0
Declare pt and valid vars in correct spot
2017-05-21 11:27:57 -07:00
Daniel Imms
d1ad8a7831
Merge pull request #500 from Tyriar/fix_vt_tests
...
Fix many vt tests
2017-01-26 08:55:42 -08:00
Daniel Imms
1b344ce789
Implement CAN (Cancel, ^X)
...
This helps partially pass t0014-CAN.in, it won't work 100% however
due to the very complex parsing logic of vanilla xterm that
gnome-terminal doesn't even seem to match. xterm's source seems to
have multiple ignore cases for a set of characters such that an
escape sequence like \e!!!!!! prints nothing as the ! continually
gets ignored. Our current logic is we ignore the escape sequence
immediately in this case and print the !.
2017-01-20 23:03:38 -08:00
Daniel Imms
aab67c2ed9
Reference CHARSETS using codes
2017-01-20 20:12:47 -08:00
Daniel Imms
0bd469f505
Implement CSI Ps SP q Set cursor style
...
Fixes #480
2017-01-18 10:06:57 -08:00
Daniel Imms
ef60e50e1d
Add documentation
2017-01-18 09:35:27 -08:00
Daniel Imms
4448ebe391
Use charsets to map
2017-01-14 22:06:30 -08:00
Daniel Imms
ecd7e69f1a
Start adding ESC state handler
2017-01-12 22:36:48 -08:00
Daniel Imms
fa3484cd14
Pull character add char code to input handler
2017-01-12 22:17:36 -08:00
Daniel Imms
f4846aa154
Finish CSI codes
2017-01-12 21:58:50 -08:00
Daniel Imms
9b66208029
Add more CSI codes
2017-01-12 21:33:28 -08:00
Daniel Imms
c43c3b411a
Add more CSI codes
2017-01-12 20:51:15 -08:00
Daniel Imms
f9a286a851
Convert more CSI codes
2017-01-12 20:32:15 -08:00
Daniel Imms
411b80cdc0
Add CSI @, E, F, G
2017-01-09 23:06:36 -08:00
Daniel Imms
db81c28bd7
Support more CSI codes, remove unused CSI helper functions
2017-01-09 22:57:38 -08:00
Daniel Imms
c7fa2d55b4
Handle remaining CSI_PARAM cases and introduce the state
2017-01-09 16:07:27 -08:00
Daniel Imms
7572dd5fa6
Remove IInputHandler from CSI_PARAM lambdas
2017-01-09 15:39:56 -08:00
Daniel Imms
9942477bff
Start converting CSI codes
2017-01-09 15:38:54 -08:00
Daniel Imms
635a4d7682
Handle CSI postfix
2017-01-09 15:19:29 -08:00
Daniel Imms
672dc1a251
Start pulling CSI handlers out
2017-01-09 15:17:15 -08:00
Daniel Imms
6deaaa8ef8
Move all parser state handling into the parser
2017-01-09 15:00:37 -08:00
Daniel Imms
1848fff4c9
Pull charsets out of xterm.js
2017-01-09 14:21:59 -08:00
Daniel Imms
991b2843d3
Fix references to Terminaal and fix TS lint warnings
2017-01-09 13:57:58 -08:00
Daniel Imms
940bd2699e
Fix wcwidth TS errors
2017-01-09 13:48:52 -08:00
Daniel Imms
4a27b9a53f
Move wcwidth into Parser.ts
2017-01-09 13:46:08 -08:00
Daniel Imms
a31921ae73
Move parsing logic into Parser.ts
2017-01-09 13:45:55 -08:00
Daniel Imms
665a11acc0
Add C0.BS handler back
2017-01-08 17:12:35 -08:00
Daniel Imms
659fb90c1c
Handle C0 codes via handler map in Parser
2017-01-08 16:21:51 -08:00