Kovid Goyal
3093610d26
Allow choosing new os window/tab during detach ask
2019-11-12 10:42:07 +05:30
Kovid Goyal
86eed7f895
Speed up taking over of tab
2019-11-12 10:38:57 +05:30
Kovid Goyal
5dc14c5861
Copy cwd when taking over tab
2019-11-12 10:24:37 +05:30
Kovid Goyal
cab87f6fb2
Ensure Tab has cwd even with no initial window
2019-11-12 10:18:42 +05:30
Kovid Goyal
fb3acd1f4a
Add a detach_tab command
2019-11-12 10:07:44 +05:30
Kovid Goyal
b247cef85c
...
2019-11-12 08:46:41 +05:30
Kovid Goyal
70445f33e9
Another typo
2019-11-12 06:30:21 +05:30
Kovid Goyal
cadb4f1389
...
2019-11-12 06:29:55 +05:30
Kovid Goyal
bf75a4de61
Also document debug()
2019-11-12 06:25:27 +05:30
Kovid Goyal
400ab584ac
hints kitten: Allow completely customizing the matching and actions performed by the kitten using your own script
...
Fixes #2124
2019-11-11 21:26:42 +05:30
Kovid Goyal
9edad62144
hints kitten: Allow using named groups in the regular expression. The named groups are passed to the invoked program for further processing.
2019-11-11 17:34:19 +05:30
Kovid Goyal
e94205098f
Fix link
2019-11-11 16:00:35 +05:30
Kovid Goyal
35ab7eb472
Add a new action :ref:detach_window that can be used to move the current window into a different tab
...
Fixes #1310
2019-11-11 15:47:48 +05:30
Kovid Goyal
18619b14ac
Merge branch 'simplify' of https://github.com/Luflosi/kitty
2019-11-10 23:35:27 +05:30
Luflosi
97e0b9b65a
Simplify code
2019-11-10 16:51:25 +01:00
Kovid Goyal
5175d9f4a6
Properly re-initialize GPU resources when detaching/attaching a window
2019-11-09 13:14:50 +05:30
Kovid Goyal
a5aed0f4ab
Forgot to change tab_ref when attaching window
2019-11-09 11:23:04 +05:30
Kovid Goyal
14d693a8ff
When attaching window make its parent tab active
2019-11-09 11:09:29 +05:30
Kovid Goyal
645963cc24
Cleanup tab after detaching window
2019-11-09 09:42:17 +05:30
Kovid Goyal
20751c2807
Start work on a detach_window command
2019-11-09 09:20:38 +05:30
Kovid Goyal
dda886b97c
Merge branch 'caps_lock_modifier' of https://github.com/Luflosi/kitty
2019-11-09 08:31:59 +05:30
Luflosi
b796ceecdd
Add Caps Lock to the list of modifier keys
...
When a key is pressed and `mouse_hide_wait` is less than zero, kitty will hide the mouse cursor. When a key is pressed, kitty will also scroll the history to the bottom. Both of these things don't happen if the key being pressed was a modifier key. Both of these things should not happen when Caps Lock is pressed, so this key should be added to the list of modifier keys.
`is_modifier_key()` is not used for anything else.
2019-11-09 00:41:12 +01:00
Kovid Goyal
4def89ebb5
Add a note on debugging custom kittens
2019-11-08 16:53:26 +05:30
Kovid Goyal
bd1c1839dd
Add API to boss.py to move a window into a different tab
2019-11-08 16:18:52 +05:30
Kovid Goyal
8739f698f9
When attaching window and font sizes changes, resize Screen
2019-11-08 14:58:08 +05:30
Kovid Goyal
b8c8482f20
Better fix for Powerline lacking a space glyph
...
This does not require increasing the size of the cache key, thereby
improving cache lookup performance
2019-11-08 14:41:31 +05:30
Kovid Goyal
4348ca8cc5
Remove unused function
2019-11-08 14:29:41 +05:30
Kovid Goyal
d1aa59080f
Add an API to attach and detach windows from tabs
2019-11-08 14:22:02 +05:30
Kovid Goyal
bf0ffa80be
Merge branch 'feature-window-to-tab' of https://github.com/0x17de/kitty
...
Currently only merged the function to move internal window state.
Want to refactor the changes to tabs.py and boss.py to make them more
orthogonal.
2019-11-08 09:55:51 +05:30
Kovid Goyal
2a89a0c87e
Merge branch 'master' of https://github.com/martinpelikan/kitty
2019-11-08 07:57:47 +05:30
Kovid Goyal
de84489a20
Fix a regression in 0.14.5 that caused rendering of private use glyphs with and without spaces to be identical
...
Fixes #2117
2019-11-08 07:55:41 +05:30
Martin Pelikan
40901778ad
Update fish completion docs for fish 3.0.0
...
As of 3.0.0, fish sources `kitty +complete fish` by default.
2019-11-07 18:11:47 -08:00
Kovid Goyal
c1febea659
Merge branch 'restore_error_reporting' of https://github.com/Luflosi/kitty
2019-11-05 07:07:03 +05:30
Luflosi
b42f4ac288
Restore proper error reporting functionality
...
In 841c907efc643a4f4f06b2686d0d1e6022710600, the `%m` format specifier was replaced by `%%m`, which just prints `%m`. To keep the functionality of `%m` without using `%m`, the error string can be printed manually.
2019-11-05 00:42:29 +01:00
Kovid Goyal
fae57a5868
Website: Add a scrollbar to the sidebar if needed
2019-11-04 18:05:08 +05:30
Kovid Goyal
7a02d09508
Merge branch 'master' of https://github.com/CD3/kitty
2019-11-01 23:23:22 +05:30
C.D. Clark III
8ec6fe960d
docs: added '@selection' to pipe documentation.
2019-11-01 08:46:49 -05:00
Kovid Goyal
61a77e19ef
X11: Fix content scale fallback value on KDE
...
From upstream: 75294462b3
2019-10-31 09:10:01 +05:30
Kovid Goyal
82e88b54c7
X11: Fix decoration enabling after window creation
...
From upstream: 5fc4c01302
2019-10-31 09:04:45 +05:30
Kovid Goyal
ab8975f4da
Merge branch 'with_suppress' of https://github.com/Luflosi/kitty
2019-10-29 10:17:19 +05:30
Luflosi
5e7fd21c8d
Use "with suppress()" to suppress a python exception
2019-10-28 18:35:21 +01:00
Kovid Goyal
30cd9b2ae4
Merge branch 'fix_two_linker_error' of https://github.com/Luflosi/kitty
2019-10-28 07:31:49 +05:30
Luflosi
4f7d12f3fd
Fix error when two linker processes fail
...
When a linker process fails, `failed` will be set to a value other than `None`. When a second linker process fails, the `else` case will be taken because `failed is None`, which executes `compile_cmd.on_success()`. This function tries to rename or move the file generated by the linker but since the linker process failed, the file will most likely not exist. This will throw an error, which will prevent printing the actual error message from the linker.
2019-10-27 21:50:22 +01:00
Kovid Goyal
62da158823
Merge branch 'fix_potential_error' of https://github.com/Luflosi/kitty
2019-10-27 07:42:21 +05:30
Luflosi
2d19b87208
Fix potential error when $PATH is not defined
...
When `PATH` is not in `os.environ`, kitty could potentially throw a `KeyError`.
2019-10-27 00:10:55 +02:00
Kovid Goyal
54ca775006
Merge branch 'visual' of https://github.com/toonn/kitty
2019-10-26 09:10:15 +05:30
toonn
a64a0d64cb
Prefer VISUAL to EDITOR
...
Fix #2096
2019-10-25 18:52:17 +02:00
Kovid Goyal
6634dc81fe
Merge branch 'simplify' of https://github.com/Luflosi/kitty
2019-10-25 07:45:30 +05:30
Luflosi
a2d5eef398
Simplify access to os.environ
...
The `if` can be removed by using `get()` with a default parameter to access `os.environ`. This also reduces the number of accesses to `os.environ`.
2019-10-24 20:27:27 +02:00
Kovid Goyal
8184ba246a
Load libcanberra dynamically at runtime, as needed
...
Fixes #2089
2019-10-24 09:03:52 +05:30