Luflosi
e512b4d3e3
Remove PLUS key from key_name_aliases
2019-09-18 16:07:55 +02:00
Kovid Goyal
e78b6c7c7c
Merge branch 'faq' of https://github.com/jacwah/kitty
2019-09-18 09:49:09 +05:30
Jacob Wahlgren
a7403c0005
Update FAQ with FreeBSD termcap info
...
Thanks to amarshall's help:
https://github.com/kovidgoyal/kitty/issues/765#issuecomment-487381289
2019-09-17 22:19:51 +02:00
Kovid Goyal
5bed0dddaa
typo
2019-09-15 06:19:27 +05:30
Kovid Goyal
bc302dad23
Linux: Allow using fonts with spacing=90 in addition to fonts with spacing=100
...
Fixes #1968
2019-09-15 06:08:40 +05:30
Kovid Goyal
41b0f8852f
Only update config_key_map with those entries in key_name_aliases that exist in ENCODING
2019-09-15 04:24:32 +05:30
Kovid Goyal
2fadd3e7ba
Add a note to the fontconfig FAQ about how to override spacing
2019-09-15 04:09:26 +05:30
Kovid Goyal
dcfd2b8d60
Fix incorrect rendering of some symbols when followed by a space while using the PowerLine font which does not have a space glyph
...
Fixes #1225
2019-09-14 17:56:52 +05:30
Kovid Goyal
7fe63a7aad
Add changelog entry for key mapping PR
2019-09-14 10:20:18 +05:30
Kovid Goyal
67f2ec2421
Merge branch 'keyboard_improvement' of https://github.com/Luflosi/kitty
2019-09-14 10:17:35 +05:30
Kovid Goyal
8e7a23a7b9
Merge branch 'use_OPT' of https://github.com/Luflosi/kitty
2019-09-12 13:43:12 +05:30
Luflosi
8e96a27d51
Use the OPT() macro where possible
2019-09-12 10:02:53 +02:00
Kovid Goyal
b337d4d9d5
Merge branch 'master' of https://github.com/copy/kitty
2019-09-12 07:43:35 +05:30
Fabian
d9404c0362
Fix color index 232 (should be #080808 , not black)
2019-09-11 20:01:52 +02:00
Kovid Goyal
e4ba5f449f
When resetting the terminal, also reset parser state, this allows easy recovery from incomplete escape codes
...
Fixes #1961
2019-09-09 20:56:35 +05:30
Kovid Goyal
17fd749e8d
Add some aliases when parsing config files for common key name variations
2019-09-08 19:28:41 +05:30
Luflosi
f3be5b5e57
Regenerate automatically generated key_encoding.py and keys.h
2019-09-08 12:32:20 +02:00
Luflosi
e619eb9cbb
Add more keyboard keys
2019-09-08 12:32:19 +02:00
Luflosi
a65ee155c5
Indent lookup table in _glfwGetKeyName() to allow for longer keyboard key names
2019-09-08 12:32:19 +02:00
Luflosi
4037480d2b
Allow for up to 256 keys instead of 128
2019-09-08 12:32:19 +02:00
Luflosi
97e6978ed8
Order keyboard keys by their ASCII value
2019-09-08 12:32:19 +02:00
Luflosi
f05eefcc20
Allow adding keys with Unicode names on macOS
2019-09-08 12:32:19 +02:00
Luflosi
3f926dfd8b
Use keyboard key constants instead of hardcoded values
2019-09-08 12:32:18 +02:00
Luflosi
59f64c5e33
Blacklist GLFW_KEY_LAST_PRINTABLE in kitty/keys.py
2019-09-08 12:32:18 +02:00
Luflosi
87059a2004
Add GLFW_KEY_LAST_PRINTABLE as a GLFW constant
2019-09-08 12:32:18 +02:00
Luflosi
7c52dd2bd8
Fix update_encoding() not filtering GLFW_KEY_LAST_PRINTABLE
...
b3b830bb5ffb8f42d5e2367e5aab03579be3a45f did not actually make `update_encoding()` filter `GLFW_KEY_LAST_PRINTABLE` because `name` contained the key name after applying `symbolic_name()`, which replaces underscores with spaces. Instead of replacing the underscore in `LAST_PRINTABLE` with a space, I moved the check above the call to `symbolic_name()`. This is more readable and future-proof in my opinion.
2019-09-08 12:32:18 +02:00
Kovid Goyal
70c2765a6e
Allow reading session file from STDIN
2019-09-08 15:20:37 +05:30
Kovid Goyal
3618f4d642
Only try to wakeup talk thread if it has been started
2019-09-08 15:12:17 +05:30
Kovid Goyal
698569536d
Output which loo could not be woken up
2019-09-08 14:58:11 +05:30
Kovid Goyal
c398d3d16e
Cocoa: Fix glfwSetWindowSize anchor point
...
This makes glfwSetWindowSize use the top-left corner as anchor point
instead of the bottom-left corner.
Upstream: 7f02898264
2019-09-08 09:16:07 +05:30
Kovid Goyal
9dbc54aad6
Fix comparison of video modes of equal area
...
This fixes the bug of video modes being discarded if they had
a different resolution but the same area as another mode.
Upstream: 2777f6a754
2019-09-08 09:12:39 +05:30
Kovid Goyal
931cb223cd
When all visible windows have the same background color, use that as the color for the global padding, instead of the configured background color
...
See #1957
2019-09-07 18:47:15 +05:30
Kovid Goyal
336ee53fea
Merge branch 'joystick-platform' of https://github.com/jamessan/kitty
2019-09-04 08:43:16 +05:30
James McCoy
34350af61c
Only use linux_joystick.c on Linux
...
Rather than using null_joystick.c when _plat is a bsd, use
linux_joystick.c when _plat is a linux. This fixes a build issue with
other non-BSD, non-Linux platforms.
2019-09-03 23:02:16 -04:00
Kovid Goyal
72f7cb3b7d
Merge branch 'format_key_encoding' of https://github.com/Luflosi/kitty
2019-09-02 07:49:30 +05:30
Luflosi
481047a446
Format kitty/key_encoding.py with yapf
2019-09-01 17:53:52 +02:00
Kovid Goyal
3bf1d73b07
Merge branch 'add_glfw_key_last_printable' of https://github.com/Luflosi/kitty
2019-09-01 17:52:39 +05:30
Luflosi
b3b830bb5f
Make adding more printable keys slightly easier
...
When adding keys after `GLFW_KEY_UNDERSCORE`, one now needs to change a `#define` right below the last printable key instead of changing it elsewhere in the code.
This commit now also marks `GLFW_KEY_PLUS` and `GLFW_KEY_UNDERSCORE` as printable characters.
2019-09-01 11:24:14 +02:00
Kovid Goyal
def0c55df3
Merge branch 'add_missing_named_keys' of https://github.com/Luflosi/kitty
2019-09-01 05:43:27 +05:30
Luflosi
b995e00850
Add missing key to named_keys
2019-09-01 02:03:54 +02:00
Kovid Goyal
32dfc94909
Implement a hack to (mostly) preserve tabs when cat a file with them and then copying the text or passing screen contents to another program
...
It's a simple enough hack that it seems worth doing. If it causes any
issues, can always be reverted.
Fixes #1829
2019-08-31 12:37:05 +05:30
Kovid Goyal
20f7118432
version 0.14.4
v0.14.4
2019-08-31 10:20:47 +05:30
Kovid Goyal
37e6c3f0cb
Merge branch 'bool_indentation' of https://github.com/Luflosi/kitty
2019-08-30 19:08:46 +05:30
Luflosi
0459dda5c2
Fix bool indentation
...
The wrong indentation was caused by the removal of GLFWbool in fe62700825 .
2019-08-30 15:32:20 +02:00
Kovid Goyal
a10c816c05
Merge branch 'fix_nslog_string_format' of https://github.com/Luflosi/kitty
2019-08-30 18:40:49 +05:30
Luflosi
c0c7cfacc2
Fix NSLog() printing of unicode format strings
...
See https://stackoverflow.com/questions/720052/nslog-incorrect-encoding .
The `%s` format placeholder for `NSLog()` expects an encoding other than UTF-8, which leads to garbled Unicode characters when trying to print a UTF-8 encoded string.
```Objective-C
NSLog(@"Ä %s %@", "Ä", @("Ä"));
```
prints `Ä √Ñ Ä`.
As can be seen in the example above, the workaround is to convert the UTF-8 encoded C-string to an `NSString` object and print that instead.
`debug_key()` calls `NSLog()`.
2019-08-30 15:03:51 +02:00
Kovid Goyal
8cdb6647ed
Merge branch 'fix_update_encoding' of https://github.com/Luflosi/kitty
2019-08-30 16:20:42 +05:30
Luflosi
b68e3c85b9
Add missing MENU key to key_encoding.py
2019-08-30 12:37:23 +02:00
Luflosi
ef25d5bbd5
Fix update_encoding() not adding the last key
2019-08-30 12:36:37 +02:00
Kovid Goyal
278bf6e897
Fix #1937
2019-08-30 15:02:17 +05:30