Commit Graph

7556 Commits

Author SHA1 Message Date
Luflosi
0fe7796df0 Fix Clang warning
Without this, Clang would complain:
```
In file included from kitty/fonts.c:9:
In file included from kitty/fonts.h:9:
kitty/lineops.h:67:29: error: suggest braces around initialization of subobject
      [-Werror,-Wmissing-braces]
    const CellAttrs zero = {0};
                            ^
                            {}
```
2021-08-19 22:52:36 +02:00
Kovid Goyal
40b50332de Fix space ligatures not working with Iosevka for some characters in the Enclosed Alphanumeric Supplement
Recognize chars in this block as non-emoji dingbats to turn on space
ligatures for them

Fixes #3954
2021-08-19 22:28:07 +05:30
Kovid Goyal
9a50dfc4b5 broadcast kitten: Allow broadcasting ctrl+c
Fixes #3956
2021-08-19 22:05:29 +05:30
Kovid Goyal
09c18f474f Broadcast kitten: Fix --match and also remove a useless print 2021-08-19 21:58:04 +05:30
Kovid Goyal
51244c4388 Cleanup previous PR 2021-08-19 19:42:15 +05:30
Kovid Goyal
898f162369 Merge branch 'master' of https://github.com/fladson/kitty 2021-08-19 19:41:28 +05:30
Fladson Gomes
2529ef2f0b Add linker fail build notes for macos 2021-08-19 15:08:08 +02:00
Kovid Goyal
fc528941bd remove reference to obsolete kitty-themes repo 2021-08-19 14:20:06 +05:30
Kovid Goyal
8e9ee90d9f More work on file transfer protocol 2021-08-19 14:13:54 +05:30
Kovid Goyal
b03c6f70fe add macOS variants for config scs 2021-08-19 10:00:09 +05:30
Kovid Goyal
42da681f2b Launch command: Allow specifying the OS window title 2021-08-19 09:52:52 +05:30
Kovid Goyal
44561e8cea macOS: Fix SIGUSR1 quitting kitty instead of reloading the config file
Fixes #3952
2021-08-19 09:37:08 +05:30
Kovid Goyal
37735b962e Start work on new file_transmission protocol 2021-08-19 09:23:01 +05:30
Kovid Goyal
34ec3eac44 icat kitten: Fix display of JPEG images that are rotated via EXIF data and larger than available screen size
Fixes #3949
2021-08-19 09:08:35 +05:30
Kovid Goyal
59c14d07fd Update versionadded 2021-08-18 11:02:15 +05:30
Kovid Goyal
86ffb744f5 Move changelog entry for shell integration 2021-08-18 10:06:53 +05:30
Kovid Goyal
fab7cfb113 Handle multiline cursor movement in zsh when clicking 2021-08-18 10:06:10 +05:30
Kovid Goyal
2715947830 DRYer 2021-08-18 10:06:10 +05:30
Kovid Goyal
eb2f3387c5 Add some notes about the shell marking protocol 2021-08-18 10:06:10 +05:30
Kovid Goyal
2472cea69f Fix resizing causing a line or two from the start of the th last cmd output to be skipped
Resizing causes multiple consecutive lines to be marked as being start
of output, so rewind to the first of them.
2021-08-18 10:06:10 +05:30
Kovid Goyal
2a634af2bc When confirming close commands dont count windows sitting at shell prompts 2021-08-18 10:06:10 +05:30
Kovid Goyal
81654c9874 Function to check if cursor is at marked prompt 2021-08-18 10:06:09 +05:30
Kovid Goyal
28914d4450 Remove a macro that is not really needed anymore 2021-08-18 10:06:09 +05:30
Kovid Goyal
4000cce81c DRYer 2021-08-18 10:06:09 +05:30
Kovid Goyal
35ad366427 Fix incorrect prompt marking on screen resize
Forgot to initialize line attrs for src lines in the LineBuf
2021-08-18 10:06:09 +05:30
Kovid Goyal
c257adb56a Add a debug action to dump current lines with their attributes 2021-08-18 10:06:09 +05:30
Kovid Goyal
929e0c126d rename -> replace 2021-08-18 10:06:09 +05:30
Kovid Goyal
b293e4d516 DRYer 2021-08-18 10:06:09 +05:30
Kovid Goyal
6571cf2e89 When showing last cmd output convert wrap markers into line breaks
This matches the behavior of show_scrollback and works well with overlay
windows and if the pager is configured to not wrap
2021-08-18 10:06:09 +05:30
Kovid Goyal
aa739cdfd4 Add shell_prompt_marking to client 2021-08-18 10:06:09 +05:30
Kovid Goyal
35c608ae77 Dont add wrap markers (\r) when showing last command output 2021-08-18 10:06:09 +05:30
Kovid Goyal
8d8095a2d1 Migrate an action spec to the new syntax 2021-08-18 10:06:09 +05:30
Kovid Goyal
1740821bb4 Move changelog entry into correct place 2021-08-18 10:06:09 +05:30
Kovid Goyal
4cd6829657 forgot to geenrate update opts 2021-08-18 10:06:09 +05:30
Kovid Goyal
ef76c075e0 Get rid of bits from CellAttrs 2021-08-18 10:06:08 +05:30
Kovid Goyal
b260a61c8f Get rid of bits from LineAttrs 2021-08-18 10:06:08 +05:30
Kovid Goyal
780e526143 Use a union for cell attributes
Cleaner code, no performance impact
2021-08-18 10:06:08 +05:30
Kovid Goyal
1e0269faa2 Fix sourcing of shell integration changing $? on bash/zsh 2021-08-18 10:06:08 +05:30
Kovid Goyal
73465aa44b Change the shortcuts to z and x for jumping to prompts 2021-08-18 10:06:08 +05:30
Kovid Goyal
1f5fa03015 Use a union for line attrs
Allows faster construction of Line objects without needing to set
individual booleans. And cleaner code.
2021-08-18 10:06:08 +05:30
Kovid Goyal
000e1012c6 Option for packagers to easily tune shell integration 2021-08-18 10:06:08 +05:30
Kovid Goyal
afc5821809 Note when shell integration was added to kitty 2021-08-18 10:06:08 +05:30
Kovid Goyal
e8832a86bb Fix scroll_to_prompt for prompts that have been reflowed over multiple lines 2021-08-18 10:06:08 +05:30
Kovid Goyal
f61b8608de Fix mouse click event using current mouse co-ords rather than the co-ords at the time of the click 2021-08-18 10:06:08 +05:30
Kovid Goyal
92f428b6d1 common prefix should not apply to basename 2021-08-18 10:06:08 +05:30
Kovid Goyal
8795bf8cf9 various fixed for completion
- Fix completion of --directory
- Dont remove common prefix unless it contains path separator
- Dont show suggestions for options on new words
2021-08-18 10:06:08 +05:30
Kovid Goyal
0dee0bfada zsh completion: Dont remove prefix when only a single item is present in the group 2021-08-18 10:06:07 +05:30
Kovid Goyal
482d3bb913 Better integrate shell integration into sidebar toc 2021-08-18 10:06:07 +05:30
Kovid Goyal
48035977e3 Style details summary as a link 2021-08-18 10:06:07 +05:30
Kovid Goyal
6b23921880 Document the new shell integration features 2021-08-18 10:06:07 +05:30