Kovid Goyal
527255e3a1
Fix compilation with gcc 8
...
Apparently some nitwit Linux distros have made an unreleased compiler
their default compiler. Fixes #376
Fixes various new warnings that GCC 8 issues
2018-03-12 10:38:12 +05:30
Kovid Goyal
0fcce6ec58
Remove trailing whitespace from native code files
2017-12-20 08:44:47 +05:30
Kovid Goyal
d48b76508b
Implement DECCARA
...
Ability to set text attributes/colors in arbitrary screen regions,
instead of working via the cursor. Note that kitty extends the original
DECCARA spec from the VT-510 to allow setting all supported SGR
attributes.
2017-12-17 18:03:39 +05:30
Kovid Goyal
ce7be5a05e
Fix #226
2017-12-14 06:42:52 +05:30
Kovid Goyal
346a9f68b1
Fix #227
2017-12-12 18:38:52 +05:30
Kovid Goyal
c17c6cae4c
Support S8C1T mode
...
That is, eight bit control codes. When in S8C1T mode, kitty will send
only eight bit control codes to the client.
2017-12-05 20:21:12 +05:30
Kovid Goyal
e81ba3b207
Change undercurl escape code to 4:x
...
See https://github.com/neovim/neovim/issues/7479
for discussion. Also implement double underline.
2017-12-04 12:26:50 +05:30
Kovid Goyal
27cd303a05
Centralize code to convert to SGR
...
Conversion from formatting attributes to SGR now always goes through a
Cursor.
2017-12-04 10:51:06 +05:30
Kovid Goyal
b9798c74d4
Support for DCS status and capabilities reporting codes
2017-12-02 14:35:06 +05:30
Kovid Goyal
573dd8c99e
...
2017-09-15 10:45:24 +05:30
Kovid Goyal
13ac050bf8
Move cursor render call to C
2017-09-15 10:45:24 +05:30
Kovid Goyal
b58ecde740
Track cursor color as a property of Screen not Cursor
...
This means that the savepoint functionality will not restore
cursor color
2017-05-17 09:27:38 +05:30
Kovid Goyal
b4af2ff314
The cursor visible (DECTCEM) property should be global, not affected by save/restore of cursor or alternate screens
2017-01-04 10:02:39 +05:30
Kovid Goyal
e3b9bfd4bb
Use a circular buffer for the savepoints
...
Avoids mallocs during normal operation.
2016-11-19 11:03:21 +05:30
Kovid Goyal
4624525419
Use unsigned int for cursor pos
2016-11-17 08:56:26 +05:30
Kovid Goyal
f56da9392c
Implement SGR
2016-11-17 08:34:55 +05:30
Kovid Goyal
fa106c2585
More work on migrating Screen
2016-11-13 16:51:14 +05:30
Kovid Goyal
fab2213c25
More work on native streams
2016-11-13 10:24:00 +05:30
Kovid Goyal
71640aefb2
Cursor.reset_display_attrs()
2016-11-10 11:12:20 +05:30
Kovid Goyal
d9daca8e36
Use stdbool
2016-11-08 11:03:47 +05:30
Kovid Goyal
30128043d2
Fix allocation of cursor objects
2016-11-07 12:40:49 +05:30
Kovid Goyal
d324baf979
__eq__ for Line
2016-11-04 14:56:31 +05:30
Kovid Goyal
38e8462277
Get rid of more boilerplate
2016-11-02 11:48:52 +05:30
Kovid Goyal
c0d5719eb4
Reduce the size of the boilerplate
2016-11-02 11:26:36 +05:30
Kovid Goyal
c2af0bceeb
...
2016-11-02 09:37:28 +05:30
Kovid Goyal
3f87bfd64a
Cursor.copy
2016-11-01 23:31:47 +05:30
Kovid Goyal
1566407c3d
...
2016-10-31 23:41:25 +05:30
Kovid Goyal
6f20b880f3
Implement __repr__ for Cursor
2016-10-31 23:37:46 +05:30
Kovid Goyal
8dda11bee9
Implement __eq__ for Cursor
2016-10-31 23:23:40 +05:30
Kovid Goyal
3d13ad3411
The Cursor object
2016-10-31 22:48:36 +05:30