Kovid Goyal
4f135be86c
Allow creating markers dynamically
2020-01-13 20:05:50 +05:30
Kovid Goyal
605b32f78a
Merge branch 'dryer' of https://github.com/Luflosi/kitty
2020-01-13 19:42:56 +05:30
Luflosi
476a8b1429
DRYer
...
Inspired by e0c66ea5ba3e0bd1b375c05a9450b2d3ead412b6.
2020-01-13 14:35:17 +01:00
Kovid Goyal
da9165aebf
More marker docs
2020-01-13 12:54:29 +05:30
Kovid Goyal
455a1e9532
Basic docs for marking
2020-01-13 12:38:58 +05:30
Kovid Goyal
f12031e284
Make the run-program example a little fancier
2020-01-13 12:16:43 +05:30
Kovid Goyal
df551bc992
Change marker 1 color
2020-01-13 11:58:18 +05:30
Kovid Goyal
35fb702833
Use only a single marker function
...
Multipe colors/expressions can instead be combined at definition time
2020-01-13 11:57:19 +05:30
Kovid Goyal
072cd29e3c
Make add_marker easier to use with combine
2020-01-13 09:56:39 +05:30
Kovid Goyal
624dd78460
Actually apply mark colors when rendering
2020-01-13 09:51:03 +05:30
Kovid Goyal
51c4737a29
Test function marking
2020-01-13 06:50:37 +05:30
Kovid Goyal
d63ea11cac
Marking now works
2020-01-13 06:50:37 +05:30
Kovid Goyal
3d307794be
Function to get marks for testing
2020-01-13 06:50:36 +05:30
Kovid Goyal
d32a05925f
Code to add and remove markers using maps
2020-01-13 06:50:36 +05:30
Kovid Goyal
04006ea81e
Wrapper functions to handle passing matching values to C code
2020-01-13 06:50:36 +05:30
Kovid Goyal
1723616968
Code to apply match colors based on match results
2020-01-13 06:50:36 +05:30
Kovid Goyal
23bc2171c9
Avoid a double call for mark functions
2020-01-13 06:50:36 +05:30
Kovid Goyal
0b3602f764
Code to add markers to Screen
2020-01-13 06:50:36 +05:30
Kovid Goyal
0e448347cd
Fix #2279
2020-01-13 06:50:14 +05:30
Kovid Goyal
e0c66ea5ba
DRYer
2020-01-12 21:42:12 +05:30
Kovid Goyal
268de9a9d5
Merge branch 'add_CIRCUMFLEX_to_control_codes' of https://github.com/Luflosi/kitty
2020-01-12 21:03:27 +05:30
Luflosi
74eb523178
Add GLFW_KEY_CIRCUMFLEX to control_codes
...
See https://github.com/kovidgoyal/kitty/issues/1990 .
2020-01-12 16:27:40 +01:00
Kovid Goyal
8c540d5a46
Fix #2277
2020-01-12 20:00:08 +05:30
Kovid Goyal
2045055ae3
Use actual color value comparison when detecting default background color
...
This is very slightly more GPU intensive but means that even if
an application explicitly sets the color to be the same as the default
color, it will be transparent.
2020-01-12 18:14:03 +05:30
Kovid Goyal
d8ed135b46
Clean up rendering of cell backgrounds
2020-01-12 13:20:23 +05:30
Kovid Goyal
3a4ba7e834
Remove un-needed variable
2020-01-12 10:55:14 +05:30
Kovid Goyal
fab57fbdf1
Micro-optimization
2020-01-12 10:53:27 +05:30
Kovid Goyal
76a93b6cd6
DRYer
2020-01-12 10:52:42 +05:30
Kovid Goyal
f44c3a4606
Forgot to update comment describing render pipeline
2020-01-12 10:26:25 +05:30
Kovid Goyal
714bee7f45
Only use an extra draw call for the background when drawing interleaved cells if it is actually required
2020-01-12 09:37:16 +05:30
Kovid Goyal
91673642b3
icat: Allow easily specifying z-index values below background threshold
2020-01-12 09:36:11 +05:30
Kovid Goyal
fee08d746c
Merge branch 'replace_exception_with_alias' of https://github.com/Luflosi/kitty
2020-01-11 21:21:52 +05:30
Luflosi
527ff0238a
Replace all instances of EnvironmentError with OSError
...
According to the text just above https://docs.python.org/3/library/exceptions.html#EnvironmentError , `EnvironmentError` has been an alias of `OSError` since Python 3.3. Replacing it makes the code more consistent since `OSError` is used in other places in the code too.
2020-01-11 16:47:36 +01:00
Kovid Goyal
789d649b5c
defaultbg should be a local variable
2020-01-11 16:59:50 +05:30
Fredrick Brennan
8020657d8c
Allow drawing images below cells w/background
2020-01-11 16:56:59 +05:30
Kovid Goyal
a15d3ff12d
...
2020-01-10 10:19:02 +05:30
Kovid Goyal
fbce95aeda
Add an example for open file hints
2020-01-10 10:18:18 +05:30
Kovid Goyal
9bc1b5a2d9
hints kitten: Allow pressing :sc:goto_file_line to quickly open the selected file at the selected line in vim
...
Fixes #2268
2020-01-10 10:01:03 +05:30
Kovid Goyal
6a8b7bf92f
Merge branch 'with_suppress' of https://github.com/Luflosi/kitty
2020-01-09 20:58:37 +05:30
Luflosi
48728bdfdc
Use "with suppress()" to suppress a python exception
2020-01-09 16:21:56 +01:00
Kovid Goyal
b6416cf8a9
Merge branch 'glfw_upstream' of https://github.com/Luflosi/kitty
2020-01-09 06:58:30 +05:30
Luflosi
053de5763a
X11: Fix BadMatch focusing a window on non-EWMH WM
...
From upstream: aa5e313561 .
2020-01-08 19:50:17 +01:00
Kovid Goyal
fdb915d0c8
Merge branch 'zindex' of https://github.com/ctrlcctrlv/kitty
2020-01-08 18:20:34 +05:30
Fredrick Brennan
c2769c9aed
Add --z-index to icat kitten
...
Meow.
2020-01-08 20:08:01 +08:00
Kovid Goyal
57deb19d0b
typo
2020-01-07 10:45:05 +05:30
Kovid Goyal
321771b150
Merge branch 'resize-by-increments' of https://github.com/aes/kitty
2020-01-07 10:44:55 +05:30
Kovid Goyal
61dd2011f5
Dont rely on fontconfig to get postscript names
2020-01-07 09:30:41 +05:30
Kovid Goyal
8a5f189213
Ignore invalid font features when parsing config
2020-01-07 09:20:04 +05:30
Kovid Goyal
14560b008a
Clean up font features merge
2020-01-07 08:54:32 +05:30
Kovid Goyal
db85e07d41
Merge branch 'master' of https://github.com/ctrlcctrlv/kitty
2020-01-07 07:18:31 +05:30