Commit graph

231 commits

Author SHA1 Message Date
Kovid Goyal
39b2bf963c
Port the splits layout to the new groups API 2020-05-12 22:43:54 +05:30
Kovid Goyal
707ad705a4
Notify on active window changed when adding/removing to same group 2020-05-12 22:43:54 +05:30
Kovid Goyal
e9c4d540b1
More work on refactoring window groups 2020-05-12 22:43:54 +05:30
Kovid Goyal
50d9718c68
Start work on refactoring management of windows 2020-05-12 22:43:53 +05:30
Kovid Goyal
c69b8870d2
Allow individually setting margins and padding for each edge (left, right, top, bottom) 2020-04-19 09:36:26 +05:30
Kovid Goyal
6499f8ac24
Allow window objects to store custom margin/padding 2020-04-17 09:02:08 +05:30
Kovid Goyal
63307cb1d8
Code to serialize state 2020-04-17 08:42:45 +05:30
Kovid Goyal
747ac85e7c
Add an :option:launch --watcher option that allows defining callbacks that are called for various events in the window's life-cycle
Fixes #2440
2020-03-28 12:13:42 +05:30
Kovid Goyal
382c31ddf2
Use a stub rather than TYPE_CHECKING 2020-03-15 13:27:40 +05:30
Kovid Goyal
d3f37eeba4
more typing work 2020-03-14 11:42:05 +05:30
Kovid Goyal
ea48332f46
more typing work 2020-03-14 09:52:56 +05:30
Kovid Goyal
ba4e711715
Fix #2428 2020-03-13 18:13:11 +05:30
Kovid Goyal
917559f883
more typing work 2020-03-13 16:13:26 +05:30
Kovid Goyal
c817ba9eae
more typing work 2020-03-09 13:32:45 +05:30
Kovid Goyal
308d171dae
More typing work 2020-03-08 18:55:30 +05:30
Kovid Goyal
cc1336a616
More typing work
Also use a mypy based linter when editing
2020-03-08 11:02:14 +05:30
Kovid Goyal
f0b29e15c3
The utils and constants modules are now fully typechecked 2020-03-04 10:26:41 +05:30
Kovid Goyal
a4cc10c41b
More typing work 2020-03-04 06:10:57 +05:30
Kovid Goyal
242d335095
A new `copy_and_clear_or_interrupt` function
Fixes #2403
2020-02-28 21:17:05 +05:30
Kovid Goyal
0f003a9a77
Remove unused code 2020-02-12 21:28:48 +05:30
Kovid Goyal
18751a05c0
Dont use splitlines() to replace \n with \r in pasted text
splitlines breaks on a whole bunch of characters besides \r and \n.
2020-02-11 08:16:20 +05:30
Kovid Goyal
5fe4d10f38
Only do processing if pager is not an absolute path 2020-02-03 08:05:34 +05:30
Kovid Goyal
3b36470e84
When resolving scrollback pager if it is not present in system PATH try using shell PATH 2020-02-03 08:03:35 +05:30
Kovid Goyal
330ed8e4ae
Add an option to tint background images using the current background color
Note still has to be implemented for transparent windows
2020-02-02 11:22:21 +05:30
Kovid Goyal
5263babc9a
Use a single program for drawing background images 2020-01-31 15:09:47 +05:30
Kovid Goyal
1bc5d7038d
Merge branch 'bgimage' of https://github.com/ctrlcctrlv/kitty 2020-01-31 07:58:55 +05:30
Fredrick Brennan
9f364209af Add background_image 2020-01-30 17:23:42 +08:00
Kovid Goyal
2c6cc6f047
Remove unused slot 2020-01-25 11:22:22 +05:30
Kovid Goyal
936f2186cc
Allow scrolling to marks 2020-01-15 07:11:34 +05:30
Kovid Goyal
4dde98305e
Allow setting markers using remote control 2020-01-14 15:06:52 +05:30
Kovid Goyal
4f135be86c
Allow creating markers dynamically 2020-01-13 20:05:50 +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
624dd78460
Actually apply mark colors when rendering 2020-01-13 09:51:03 +05:30
Kovid Goyal
d32a05925f
Code to add and remove markers using maps 2020-01-13 06:50:36 +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
Fredrick Brennan
8020657d8c
Allow drawing images below cells w/background 2020-01-11 16:56:59 +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
7075a7f1c0
Only detach window after the ask overlay is removed 2019-11-12 10:59:36 +05:30
Kovid Goyal
a5aed0f4ab
Forgot to change tab_ref when attaching window 2019-11-09 11:23:04 +05:30
Kovid Goyal
bc222af2e2
When dumping scrollback as ansi, reset SGR formatting at end of scrollback 2019-08-27 19:35:01 +05:30
Kovid Goyal
472c6f6b8d
When running kittens, use the colorscheme of the current window rather than the configured colorscheme
Fixes #1906
2019-08-18 18:27:44 +05:30
Kovid Goyal
38f73b9f5e
Fix #1832 2019-07-23 13:31:09 +05:30
Kovid Goyal
9368f7f670
When using :opt:strip_trailing_spaces do not remove empty lines
Fixes #1802
2019-07-15 17:17:40 +05:30
Luflosi
741e719ff8
Remove unused function
Searching for `color_as_vec3` yielded no results in the entire project
but I encourage you to verify that this function is really not used
anywhere.
2019-06-05 18:01:19 +02:00
Kovid Goyal
4e9dabfb25
Add an option :opt:command_on_bell to run an arbitrary command when a bell occurs
Fixes #1660
2019-05-29 09:42:52 +05:30
Kovid Goyal
ca2c419c9b
Fix colors not being preserved when using the pipe command with the pager history buffer
Fixes #1657
2019-05-29 09:13:55 +05:30
Kovid Goyal
39f50830d7
Fix a missing newline when using the pipe command between the scrollback and screen contents
See #1642
2019-05-28 15:30:44 +05:30
Luflosi
a792c94ccf
Use python3 shebang for all python scripts
Fixes #1624.
Use python3 shebang for all python scripts as python still defaults to python2 on many systems.
2019-05-20 14:44:24 +02:00
Kovid Goyal
11522ccc92
Initial code to show window size in cells while resizing 2019-03-04 19:54:10 +05:30
Kovid Goyal
e6d5eea7eb
Get rid of glfw_post_empty_event as it is not needed 2019-03-04 19:52:45 +05:30