Kovid Goyal
c2679eff9a
Fix compiler warning
...
The compiler warning is harmless, since we exec immediately after
using the const char* but since I have a no warning policy...
2018-06-30 18:15:08 +05:30
Kovid Goyal
3ec66c0b9f
Fix regression in previous release that caused --debug-config to fail when printing shortcuts
...
Forgot to adjust the print shortcuts code for native shortcuts.
Fixes #695
2018-06-30 17:48:25 +05:30
Kovid Goyal
9277b80fad
Remove unused code
2018-06-30 12:01:56 +05:30
Kovid Goyal
568a4c9b5d
Re-raise KeyError idiomatically
2018-06-29 13:49:08 +05:30
Kovid Goyal
4de18688ca
Merge branch 'fix/conf-utils-keyparser' of https://github.com/arubertoson/kitty
2018-06-29 13:42:21 +05:30
Marcus Albertsson
12975347ee
Fix: Exception in conf utils
...
The bug was related to trying to split a string with unstript spaces in
the action parameter. It resulted in a unbound error as there was no
previous raise when getting the key from args_funcs. The fix is twofold,
it makes sure that we raise the keyerror if we're trying to grab a non
existing key and we're stripping the spaces from the action before
splitting.
This should fix both the unbound error and the not being able to resolve
correct actions.
2018-06-29 08:56:25 +01:00
Kovid Goyal
e35c3cc913
Add an option single_window_margin_width to allow different margins when only a single window is visible in the layout
...
Fixes #688
2018-06-29 09:56:05 +05:30
Kovid Goyal
65fef81f29
hints kitten: Add an option to select multiple items
...
Fixes #687
2018-06-29 06:49:16 +05:30
Kovid Goyal
e3f60e6fa7
Update CHANGELOG
2018-06-28 20:34:56 +05:30
Kovid Goyal
0c88e11cd7
More useful exception when unexpected output encountered from a kitten
2018-06-27 14:13:40 +05:30
Kovid Goyal
d689c21283
Fix pasting large amounts of text very slow.
...
Fixes #682
Apparently when refactoring child.py I somehow lost the code to make the
child fd non-blocking.
2018-06-26 18:20:46 +05:30
Kovid Goyal
5362d1a7a6
Micro-optimization
2018-06-26 16:02:05 +05:30
Kovid Goyal
3b1490020d
...
2018-06-26 12:35:38 +05:30
Kovid Goyal
b8ba25b81f
Add a link to the kitty source code for packagers
2018-06-26 12:03:07 +05:30
Kovid Goyal
8bfdc47998
macOS: Fix an error in remote control when using --listen-on. Fixes #679
2018-06-25 12:33:54 +05:30
Kovid Goyal
2491fafe98
Update glfw from upstream
2018-06-23 14:59:36 +05:30
Kovid Goyal
b5bc466aef
Merge branch 'master' of https://github.com/Ma-Shell/kitty
2018-06-23 13:54:47 +05:30
Marcel Schumacher
cfd6ea4301
bugfix for get-text with extent=screen
2018-06-23 10:13:37 +02:00
Kovid Goyal
2cdf41f190
...
2018-06-23 13:20:53 +05:30
Kovid Goyal
9169d0aa9b
...
2018-06-23 10:34:35 +05:30
Kovid Goyal
05a25e3531
redirect to kitty website
2018-06-23 10:30:34 +05:30
Kovid Goyal
2852ce9a4d
Update glfw from upstream
2018-06-23 10:23:21 +05:30
Kovid Goyal
20f8f2c401
Removed unused code
...
The template is no longer needed since I switched my global
template to py3
2018-06-23 10:03:37 +05:30
Kovid Goyal
0995187080
Remove unused code
...
linux-installer.sh was accidentally committed to the kitty repo
2018-06-23 09:58:20 +05:30
Kovid Goyal
d10eac1b02
Merge branch 'fix-new_os_window' of https://github.com/blueyed/kitty
2018-06-23 08:28:11 +05:30
Daniel Hahler
2cc2f803f1
create_session: handle args=None
...
Fixes `new_os_window`:
scancode: 0x39 release: 0 clean_sym: n composed_sym: N mods: ctrl+shift glfw_key: N
Traceback (most recent call last):
File "…/Vcs/kitty/kitty/boss.py", line 431, in dispatch_special_key
return self.dispatch_action(key_action)
File "…/Vcs/kitty/kitty/boss.py", line 487, in dispatch_action
passthrough = f(*key_action.args)
File "…/Vcs/kitty/kitty/boss.py", line 199, in new_os_window
self._new_os_window(args)
File "…/Vcs/kitty/kitty/boss.py", line 195, in _new_os_window
startup_session = create_session(self.opts, special_window=sw, cwd_from=cwd_from)
File "…/Vcs/kitty/kitty/session.py", line 127, in create_session
if args.hold:
2018-06-23 02:57:47 +02:00
Kovid Goyal
66a52ac588
Also ignore failure to read readline history in the ask kitten
2018-06-22 17:23:55 +05:30
Kovid Goyal
32f22e0ada
kitty shell: Ignore failure to read readline history file
2018-06-22 17:23:01 +05:30
Kovid Goyal
c037f53534
...
2018-06-22 15:35:24 +05:30
Kovid Goyal
aba84581f5
When running kitty from within kitty, use a full path
...
Fixes inability to run kitty from the shell when the users shell scripts
reset PATH. See #668
2018-06-22 15:33:07 +05:30
Kovid Goyal
82f6fbff77
Add a --hold command line option to stay open after the child process exits
...
Fixes #667
2018-06-22 13:52:03 +05:30
Kovid Goyal
d16215ab6e
Initialize glfw for --debug-config as well
2018-06-22 13:30:03 +05:30
Kovid Goyal
45b0233f60
Update GLFW from upstream
...
Use the new init hint for keyboard debugging
2018-06-22 13:26:41 +05:30
Kovid Goyal
1ce4366972
...
2018-06-22 12:44:08 +05:30
Kovid Goyal
c8fc21d336
Linux: Allow using XKB key names to bind shortcuts to keys not supported by GLFW
...
Useful to bind keys such as the play/pause or volume buttons. Also can
be used to bind non-ascii keys on international keyboards. Fixes #665
2018-06-22 12:41:50 +05:30
Kovid Goyal
5dd3243674
Update glfw from upstream
2018-06-22 10:21:51 +05:30
Kovid Goyal
815dd99f7c
Keep the Debian PC police happy
...
Fixes #661
2018-06-21 13:12:45 +05:30
Kovid Goyal
bf0dcb1d2e
Update version of glad used to generate OpenGL wrapper
...
Also fix #654
2018-06-20 12:43:26 +05:30
Kovid Goyal
031fc10859
Merge branch 'title-command-line-parameter' of https://github.com/lamby/kitty
2018-06-19 13:48:55 +05:30
Chris Lamb
a644e4c31e
Support "-T" as an alias for "--title".
...
Thank you for developing Kitty.
Currently kitty is not available on the list of "alternatives" for a
terminal emulator on Debian GNU/Linux and derivatives. This is because
Debian Policy states that packages that provide a terminal emulator must
provide, inter alia, support the command-line option -T title, which
creates a new terminal window with the specified window title [0].
This PR therefore adds -T as an alias for --title, thus bringing kitty into
compliance and allowing cleaner integration into the Debian desktop.
This issue was originally filed as #900704 .
[0] https://www.debian.org/doc/debian-policy/#packages-providing-a-terminal-emulator
[1] https://bugs.debian.org/900704
Signed-off-by: Chris Lamb <lamby@debian.org>
2018-06-19 10:10:43 +02:00
Kovid Goyal
0398dbdcbe
Fix extra blank lines when using log_error()
2018-06-19 12:51:54 +05:30
Kovid Goyal
84b2fbba28
--debug-font-fallback also prints out what basic fonts were matched
...
Fixes #656
2018-06-19 12:48:33 +05:30
Kovid Goyal
491f233d33
diff kitten: When triggering a search scroll to the first match automatically
2018-06-19 10:30:52 +05:30
Kovid Goyal
5e38af6d24
When closing a kitty window reset the mouse cursor to its default shape and ensure it is visible. Fixes #655
2018-06-19 10:19:17 +05:30
Kovid Goyal
4c0f68150a
Merge branch 'master' of https://github.com/Luflosi/kitty
2018-06-18 18:41:12 +05:30
Luflosi
3f25f70783
Ignore .DS_Store
2018-06-18 14:39:12 +02:00
Kovid Goyal
d7007f77aa
DRYer
2018-06-18 12:18:04 +05:30
Kovid Goyal
94273941ad
...
2018-06-18 12:10:42 +05:30
Kovid Goyal
c09542ea6a
Speed up reading of command responses
2018-06-18 11:42:32 +05:30
Kovid Goyal
c5583d380d
No need to use select() for TTYIO
...
Instead make read() block with timeout via termios
2018-06-18 11:10:16 +05:30