19 Commits

Author SHA1 Message Date
Sergei Grechanik
d63eeada73 Image placement using Unicode placeholders
This commit introduces the Unicode placeholder image placement method.
In particular:
- Virtual placements can be created by passing `U=1` in a put command.
- Images with virtual placements can be displayed using the placeholder
  character `U+10EEEE` with diacritics indicating rows and columns.
- The image ID is indicated by the foreground color of the placeholder.
  Additionally, the most significant byte of the ID can be specified via
  the third diacritic.
- Underline color can be optionally used to specify the placement ID.
- A bug was fixed, which caused incomplete image removal when it was
  overwritten by another image with the same ID.
2023-02-21 18:23:16 -08:00
Kovid Goyal
53e33a80ba
Start work on porting unicode input kitten to Go 2023-02-14 21:33:21 +05:30
Kovid Goyal
d53cb97aa1
Mark SRGB LUT table as generated 2023-02-08 11:29:18 +05:30
Kovid Goyal
5703a3370e
Move wcswidth into its own package as it is very slow to build 2022-11-14 15:41:50 +05:30
Kovid Goyal
05d768d8df
Generate a wcwidth for Go as well 2022-11-14 15:41:49 +05:30
Kovid Goyal
2e71429b03
Auto generate the boilerplate code to convert python opts to c opts 2021-06-03 18:30:13 +05:30
Kovid Goyal
6d7df1c5e8
Refactor configuration file parsing
Now the time for importing the kitty.config module has been halved, from
16ms from 32ms on my machine. Also, the new architecture will eventually
allow for auto generating a bunch of python-to-C boilerplate code.
2021-05-31 17:40:49 +05:30
Kovid Goyal
c8a9336160
Code to encode key events 2021-01-16 20:52:12 +05:30
Kovid Goyal
8057bc639d
Add diff context parser defs 2020-10-20 11:37:48 +05:30
Luflosi
8cf3380a77
Mark kitty/parse-graphics-command.h as being generated 2019-10-15 18:16:28 +02:00
Luflosi
8af0a8476f
Remove remaining references to kitty/khrplatform.h
`kitty/khrplatform.h` was removed in f872f955b02b4c352939d6ebb507d80f73de5da9.
2019-10-15 17:25:47 +02:00
Luflosi
4b090259cd
Mark kitty/unicode-data.c as being generated 2019-09-26 21:54:42 +02:00
Kovid Goyal
4d92f4871a
Mark names.h as being generated 2018-02-12 10:19:29 +05:30
Kovid Goyal
5faa649452
Drop the dependency on libunistring 2018-01-18 00:09:40 +05:30
Kovid Goyal
d1282b9f55
Add a script to generate wcwidth as well
Generated function is more efficient than the implementation from
wcwidth9 and also makes it easy to update when the unicode standard
changes.
2017-12-20 16:18:05 +05:30
Kovid Goyal
ef6f4c2fbf
Improve fontconfig fallback font queries for emoji 2017-12-09 12:01:43 +05:30
Kovid Goyal
dfd8a69cf2
Build kitty against bundled glfw 2017-12-01 12:15:36 +05:30
Kovid Goyal
9307486254
Initial import of glfw 2017-12-01 12:15:36 +05:30
Kovid Goyal
216a66ec4c
Add some .gitattributes to ignore generated files in difss/lang stats 2017-11-08 17:12:39 +05:30