Vlad Hanciuta
a61d70ea9a
Add strikethrough capabilities to terminfo
...
The termcap aliases are not standard, but they are used by Vim, it
seems. As far as I can tell, there are no standard termcap attribute for
strikethrough.
2020-04-18 16:37:09 +01:00
Vlad Hanciuta
e271719dd2
Add strikeout capability to terminfo
2020-04-18 16:05:30 +01:00
Kovid Goyal
a08efa1fc5
Fix failing test
2020-04-17 19:57:37 +05:30
Kovid Goyal
ffac3600e0
Layouts: Apply per window padding and margin values
...
Also make the calculation of blank rects more robust and with less code,
which should hopefully fix #1762
2020-04-17 19:47:34 +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
0a6fb362f6
kitty @ kitten: Allow no_ui kittens to return data to the remote client
...
Fixes #2552 since the OP can now write a kitten to query the window
manager and return position data even over SSH.
2020-04-15 08:29:55 +05:30
Kovid Goyal
457fcbfb90
Merge branch 'master' of https://github.com/akobel/kitty
2020-04-15 07:44:27 +05:30
Alexander Kobel
3b6277b9e2
Hide "No render frame received" without --debug-rendering
2020-04-14 19:36:58 +02:00
Alexander Kobel
e6e61028b1
Rename --debug-gl to --debug-rendering
2020-04-14 19:35:40 +02:00
Kovid Goyal
e9be66126b
Merge branch 'hints-support-empty-word-characters' of https://github.com/trygveaa/kitty
2020-04-14 08:17:13 +05:30
Trygve Aaberge
681fe7f2f2
Don't set word_characters to select_by_word_characters when empty string
...
This allows you to pass in --word-characters "" which will make hints
only match \w.
2020-04-13 23:02:44 +02:00
Kovid Goyal
0196920533
icat kitten: Fix display of 16-bit depth images
...
Fixes #2542
2020-04-13 23:05:10 +05:30
Kovid Goyal
5f5bb3ace0
Update Changelog
2020-04-12 20:10:29 +05:30
Kovid Goyal
3c970e0122
Merge branch 'kitten-send-mouse-events' of https://github.com/trygveaa/kitty
2020-04-12 20:09:45 +05:30
Trygve Aaberge
43af6e3b8a
Add support for sending mouse events from a kitten
...
This allows you to a control a program running in kitty from a kitten
using mouse events. If the program is not receiving mouse events of that
type, it is not sent.
2020-04-12 16:19:50 +02:00
Kovid Goyal
ac8cfc12fb
Merge branch 'docs-fix-kitten-custom-indentation' of https://github.com/trygveaa/kitty
2020-04-12 19:49:18 +05:30
Trygve Aaberge
b19472e0f5
Fix indentation in kittens/custom.rst to 4 spaces
...
This file used 3 spaces some places and 4 spaces other places. Other
files like diff.rst and hints.rst use 4 spaces.
2020-04-12 16:04:32 +02:00
Kovid Goyal
b4d08044a0
...
2020-04-12 17:01:39 +05:30
Kovid Goyal
b2fe02e63f
Merge branch 'patch-1' of https://github.com/LesnyRumcajs/kitty
2020-04-12 16:55:10 +05:30
Kovid Goyal
d1a5d30233
Add another test for marking
2020-04-12 16:54:38 +05:30
LesnyRumcajs
bba30138e1
Update Fedora link
...
The link was pointing to a deprecated `copr`. Let's point it to official Fedora repos! (as copr page suggests anyway)
2020-04-12 13:13:02 +02:00
Kovid Goyal
082546a1e7
Marks: Fix marks not handling wide characters and tab characters correctly
...
Fixes #2534
2020-04-12 13:28:21 +05:30
Kovid Goyal
41ffd58e26
A bit of cleanup
2020-04-11 21:22:17 +05:30
Kovid Goyal
b4f24e4e1e
Merge branch 'must_draw_borders_flag' of https://github.com/franco/kitty
2020-04-11 21:19:52 +05:30
Franco Sebregondi
75c8ffd715
Add flag to Layout to enforce drawing a border
...
Layout.must_draw_borders = True enforces drawing of a border even
though only a single window is visible. See #2531 .
2020-04-11 17:01:44 +02:00
Kovid Goyal
688606ff7c
Merge branch 'ignore-keyboard-layout-switch-keys' of https://github.com/trygveaa/kitty
2020-04-10 21:46:07 +05:30
Trygve Aaberge
2e3f9dffa7
Ignore keys for switching keyboard layout
...
XKB has various options for using keys to switch the keyboard layout.
When these are set, XKB will return keysyms which are unknown to GLFW,
so kitty will fallback to using a keymap without the options set, which
causes the keys to be interpreted as the original keysyms.
However, when these options are set, kitty shouldn't interpret the keys.
Therefore, check for some specific keysyms and return before translating
to GLFW keysyms.
There may be more keysyms which should be ignored, but as far as I can
see from https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/blob/xkeyboard-config-2.29/symbols/group
these are the ones which can be triggered by XKB options.
Fixes #2519
2020-04-10 17:21:53 +02:00
Kovid Goyal
859033415b
macOS: Fix incorrect horizontal positioning of some full-width East Asian characters
...
Fixes #1457
Also render multi-cell PUA characters centered, matching behavior on other platforms
2020-04-09 13:25:19 +05:30
Kovid Goyal
1f1b52b580
Fix specifying options for layouts in the startup session file not working
...
Fixes #2520
2020-04-09 12:40:09 +05:30
Kovid Goyal
4e7bf80447
diff kitten: New option to control the background color for filler lines in the margin
...
Fixes #2518
2020-04-08 20:42:49 +05:30
Kovid Goyal
e39df50884
Merge branch 'patch-1' of https://github.com/georgeabr/kitty
2020-04-08 18:56:15 +05:30
George Abraham
8d6a9d45c2
Changing match target to "font"
...
As suggested in #2516 , changing match target to "font" in the fonts.conf file.
2020-04-08 14:02:54 +01:00
Kovid Goyal
0862e85577
Rewrite wcswidth as a state machine
2020-04-07 10:10:30 +05:30
Kovid Goyal
0b9a37139e
Render any flag pair in two cells not just known ones
2020-04-06 23:00:34 +05:30
Kovid Goyal
6357f7b811
Update wcswidth() to match new country flag rendering
2020-04-06 22:56:34 +05:30
Kovid Goyal
24197dc422
Render known country flags designated by a pair of unicode codepoints in two cells instead of four.
2020-04-06 22:16:59 +05:30
Kovid Goyal
9bc2ab3245
Function to detect flag pairs
2020-04-06 21:16:14 +05:30
Kovid Goyal
bf4e8c490c
Update to Unicode 13.0
...
Fixes #2513
2020-04-06 18:59:35 +05:30
Kovid Goyal
590a4d70ee
Fix --stdin-add-formatting not working
...
Fixes #2512
2020-04-06 09:35:16 +05:30
Kovid Goyal
40341d2ddd
...
2020-04-04 09:17:38 +05:30
Kovid Goyal
0cd2c41ee3
Update changelog
2020-04-03 22:42:06 +05:30
Kovid Goyal
5d65cdb6a8
Fix reverse video not being rendered correctly when using transparency or a background image
...
Fixes #2419
2020-04-03 22:40:33 +05:30
Kovid Goyal
759a15ccbb
X11: Handle invalid data being sent with drag events by some applications
...
Fixes #2505
2020-04-02 21:01:19 +05:30
Kovid Goyal
5aead5eebe
Replace new-window with launch in the docs
2020-04-01 08:39:37 +05:30
Kovid Goyal
a325a5fdee
Merge branch 'strikethrough-info-from-font' of https://github.com/trygveaa/kitty
2020-03-31 09:34:07 +05:30
Trygve Aaberge
931e91f1a7
Read strikethrough info from font when using FreeType
...
This reads the strikethrough position and thickness from the font so it
is rendered correctly.
This is only implemented for FreeType, not Core Text, because I didn't
find any way to get the info from Core Text, and I don't have a Mac to
test it on either. When using Core Text or when the font doesn't provide
the info, the same approximation as before is used.
2020-03-30 20:09:30 +02:00
Kovid Goyal
6e13509720
Allow entry points and external command combined completion on first word
2020-03-30 11:38:54 +05:30
Kovid Goyal
5b4844e71e
oops
...
Broke normal completion in previous commit. Delegate should only be used
when actual unknown words are present
2020-03-30 11:12:00 +05:30
Kovid Goyal
66cbbea9bb
Add completion for executables at kitty invocation in zsh
...
So now kitty vi<TAB> and kitty vim something<TAB> delegate
completion to zsh for the command that will be executed inside kitty.
2020-03-30 10:54:17 +05:30