Kovid Goyal
f84cb2f07a
...
2018-07-24 09:32:21 +05:30
Kovid Goyal
e0ff6bcc5d
Implement protocol for atomic screen updates
...
See https://gitlab.com/gnachman/iterm2/wikis/synchronized-updates-spec
2018-07-23 13:24:49 +05:30
Kovid Goyal
af9f7bb0d2
Generate the code to parse APC escape codes
...
Allows it to be re-used for other APC codes
if needed.
2018-07-19 18:43:26 +05:30
Kovid Goyal
6f7ea49008
Switch to high number OSC codes instead of DCS string codes for dynamic color push/pop
2018-06-15 15:21:46 +05:30
Kovid Goyal
82f9f002bd
diff kitten: Fix default foreground/background colors not being restored when kitten quits. Fixes #637
2018-06-14 23:25:13 +05:30
Kovid Goyal
138b4cf5da
Fix build breakage caused by FreeBSD support
...
Also move the changes to the glfw files to glfw.py
2018-06-03 09:17:18 +05:30
Kovid Goyal
dd20789249
Add support for the CSI t escape code to query window and cell sizes
2018-05-28 13:47:42 +05:30
Kovid Goyal
fb57653665
Make debugging kittens a little nicer
...
Now debug() writes to the stderr of the parent kitty process instead of
a temp file.
2018-05-19 16:32:08 +05:30
Kovid Goyal
889ca77912
Allow programs running in kitty to read/write from the clipboard
...
By default only writing is allowed. There is a config option to enable
reading, if needed.
2018-05-07 09:57:39 +05:30
James McCoy
dc6efb5b37
Use uint64_t to detect out of range graphics command id
...
parse_graphics_code() uses an unsigned long to detect if the id is
"> UINT32_MAX", however sizeof(long) == sizeof(void *) on Linux systems.
So this condition will be impossible on any 32-bit system.
2018-04-19 20:32:48 -04:00
James McCoy
a467e79144
Stop setting title to ";" when 0-length OSC 2 is received
...
Various programs send a 0-length title if no title is configured (e.g.,
(n)vim with 'title' unset, or mutt without ts_enabled). When this
happens, kitty is mis-parsing the data and setting the title to ";".
2018-03-26 21:30:45 -04:00
Kovid Goyal
c7506496da
Unify error logging between python and C
2018-03-04 11:55:47 +05:30
Kovid Goyal
a1bd69a9c2
Fix incorrect handling of CSI s/r/u
2018-02-04 16:16:57 +05:30
Kovid Goyal
855b3de473
Implement support for save/restore of DEC private modes (CSI ? s/r)
2018-02-01 09:19:43 +05:30
Kovid Goyal
c64fd1760c
More work on remote control
2018-01-08 12:48:14 +05:30
Kovid Goyal
f3cb68ee40
Framework for remote control
2018-01-08 12:48:14 +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
c90223e4c8
Report unknown CSI r sequences
2017-12-06 00:31:03 +05:30
Kovid Goyal
b191727567
Some simple tests for sc81t
2017-12-05 20:21:12 +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
b9798c74d4
Support for DCS status and capabilities reporting codes
2017-12-02 14:35:06 +05:30
Kovid Goyal
8961eaaa9d
Fix compilation error on 32bot systems
...
Fixes #185
2017-11-26 08:22:14 +05:30
Kovid Goyal
aaf593d2df
Add a few bounds checks
2017-11-05 10:27:10 +05:30
Kovid Goyal
a614fe615f
Improve error reporting of incomplete SGR codes
2017-11-05 10:17:40 +05:30
Kovid Goyal
3cb74a25ba
Fix handling of empty SGR code
...
Was broken by refactoring to support colons in SGR codes
2017-11-05 10:06:33 +05:30
Kovid Goyal
e90aaa8470
Add support for colons in SGR codes
2017-11-05 08:47:21 +05:30
Kovid Goyal
7119c04c81
...
2017-11-03 10:22:36 +05:30
Kovid Goyal
18dde7b26c
...
2017-11-03 10:01:52 +05:30
Kovid Goyal
013fd31493
Output more details about unknown CSI codes
2017-11-02 20:48:30 +05:30
Kovid Goyal
21ed07d7ce
Ensure python type objects are declared in onlya single unit
2017-11-01 13:14:50 +05:30
Kovid Goyal
747f7b076d
Implement control code for deleting images
2017-10-08 22:51:00 +05:30
Kovid Goyal
1a8d9314fe
Fix transmission of chunked compressed data
2017-10-04 10:19:25 +05:30
Kovid Goyal
c87dcdbe3c
Tests for displaying graphics
2017-10-03 16:10:04 +05:30
Kovid Goyal
28ae99ed37
More work on displaying images
2017-09-30 14:46:17 +05:30
Kovid Goyal
dbd7ec5b27
Allow specifying the offset and size for reading data from files
...
Also require size to be specified for SHM objects to support platforms
such as macOS that have no way to get the size from the fd.
2017-09-30 13:51:51 +05:30
Kovid Goyal
8e5c4b6f7a
Require data size to be sent for PNG format
2017-09-30 13:51:50 +05:30
Kovid Goyal
558b208edd
Fix compressed key not being parsed
2017-09-30 13:51:50 +05:30
Kovid Goyal
23c2bdb6f0
Dont silently wrap too large ids, instead ignore the graphics command
2017-09-30 13:51:49 +05:30
Kovid Goyal
7736629bc4
Fix graphics id not going upto UINT32_MAX
2017-09-30 13:51:49 +05:30
Kovid Goyal
204bd97198
Nicer error responses on bad graphics data
2017-09-30 13:51:49 +05:30
Kovid Goyal
66bce4b8cd
Code to read image data
2017-09-30 13:51:48 +05:30
Kovid Goyal
c567acb4e5
Work on loading images
2017-09-30 13:51:48 +05:30
Kovid Goyal
8418cc04c1
Start work on the graphics manager
2017-09-30 13:51:48 +05:30
Kovid Goyal
15e03f74f4
Also report the payload for graphics commands
2017-09-30 13:51:47 +05:30
Kovid Goyal
56c2e0c26a
Report incomplete graphics commands as parser errors
2017-09-30 13:51:47 +05:30
Kovid Goyal
3c89f80603
More tests for the graphics control code parser
2017-09-30 13:51:47 +05:30
Kovid Goyal
8e64895c23
Framework for testing graphics command parsing
2017-09-30 13:51:47 +05:30
Kovid Goyal
9f5d731d8d
...
2017-09-30 13:51:47 +05:30
Kovid Goyal
ef312a3d1c
...
2017-09-30 13:51:47 +05:30