Kovid Goyal
efad733cc5
DRYer
2019-06-30 18:42:20 +05:30
Kovid Goyal
1fcd6e1811
macOS: Fix finding fallback font for private use unicode symbols not working reliably
...
Fixes #1650
2019-06-30 18:11:58 +05:30
Kovid Goyal
cde69670ba
Linux: Fix incorrect scaling for fallback fonts when the font has an underscore that renders out of bounds
...
The calc_cell_height() function should not use underscore heights when
called in contexts other than cell metrics calculation.
Fixes #1713
2019-06-30 08:51:35 +05:30
Kovid Goyal
0be6c9cb97
Allow passing a `!neighbor` argument to the new_window mapping to open a new window next to the active window
...
Fixes #1746
2019-06-29 15:13:54 +05:30
Kovid Goyal
c84e73d8e6
Add some docs for how the completion system can be extended for a new shell
2019-06-29 07:56:24 +05:30
Kovid Goyal
3fb00f6c70
Re-request render frames if we dont hear back in a quarter of a second
...
Fixes #1748 (I hope)
2019-06-28 18:26:11 +05:30
Kovid Goyal
d5abc84bea
Remote control: Add a command kitty @ scroll-window to scroll windows
2019-06-28 17:07:31 +05:30
Luflosi
893f406a99
Remove empty lines
2019-06-26 17:50:14 +02:00
Kovid Goyal
f722b898b0
Remove hard-coded restriction on drawing borders when only a single window is present
...
Instead this is controlled by the active layout. Fixes #1750
2019-06-26 19:35:49 +05:30
Kovid Goyal
9135387cfa
Get rid of the various different launchers
...
Now there is only one launcher. Which means it can be used to start
kitty with profiling and ASAN in the natural way. The recommended
way to run kitty from source is now:
./kitty/launcher/kitty
The launcher also automatically re-execs to resolve symlinks on macOS.
2019-06-24 17:21:30 +05:30
Luflosi
07beb53b37
Add space after "if"
2019-06-21 12:12:13 +02:00
Kovid Goyal
603533e632
Fix a regression that caused closing an overlay window to focus the previously focused window rather than the underlying window
...
Fixes #1720
2019-06-17 09:00:47 +05:30
Kovid Goyal
721beb9202
More docs for the cell fragment shader
2019-06-14 11:11:43 +05:30
Kovid Goyal
2973cf15a4
Dont leak a file descriptor if pthread_create() fails
2019-06-12 21:51:32 +05:30
Kovid Goyal
55969bc3c5
Also set cwd when piping to none
2019-06-12 21:43:13 +05:30
Kovid Goyal
a8504c971a
Also set special env for piped child with no input
2019-06-12 21:36:13 +05:30
Kovid Goyal
1644de2083
Use an explicit pipe instead of relying on subprocess.PIPE
...
Not sure what the lifetime semantics for fds created by subprocess.PIPE
are
2019-06-12 21:31:06 +05:30
Kovid Goyal
dd1fb85f60
When piping data to a child in the pipe command do it in a thread so as not to block the UI
...
See #1708
2019-06-12 21:03:18 +05:30
Kovid Goyal
b945b19865
Make thread_write() more robust
2019-06-12 20:58:47 +05:30
Kovid Goyal
91bf9f2ec8
Ensure fd is blocking in thread_write()
2019-06-12 20:42:17 +05:30
Kovid Goyal
f151f4c165
Detach the stdin write thread so that it is auto-cleaned up
2019-06-12 20:36:53 +05:30
Kovid Goyal
da3e1a3730
Finish documenting commands
2019-06-12 15:30:26 +05:30
Kovid Goyal
29f637c19a
Document a couple more commands
2019-06-12 15:14:15 +05:30
Kovid Goyal
3d01565ba7
Document more commands
2019-06-12 15:01:14 +05:30
Kovid Goyal
962291cc8e
Document another command
2019-06-12 13:41:46 +05:30
Kovid Goyal
a662dace9c
Document a couple more commands
2019-06-12 13:33:12 +05:30
Kovid Goyal
d34e0b325e
Document a couple more commands
2019-06-12 13:20:54 +05:30
Kovid Goyal
4c242ec528
Document a couple more commands
2019-06-12 13:17:28 +05:30
Kovid Goyal
658be9405f
Document the kitty remote control protocol
...
Fixes #1646
2019-06-12 13:12:53 +05:30
Kovid Goyal
15e8f6ad8a
Another fix to the scissor for rendering the cell area
...
With a cyan background it becomes apparent that the width/height are one
pixel too small
2019-06-12 10:37:20 +05:30
Kovid Goyal
a5aca35f1c
Simplify and document the operation of the cell fragment shader
...
Also get rid of the unneccessary double bg_alpha followed by divide by
alpha step when rendering interleaved and premult
2019-06-12 10:22:47 +05:30
Kovid Goyal
ae9df1ffac
oops
2019-06-12 08:03:10 +05:30
Kovid Goyal
8bf2e098f5
Fix an out of bounds read causing a crash when selecting text with the mouse in the alternate screen mode
...
Fixes #1578
2019-06-12 07:52:37 +05:30
Luflosi
78775b7f6b
Use "with suppress()" to suppress a python exception
2019-06-11 15:48:27 +02:00
Kovid Goyal
8d21a5b6b3
Fallback on ctypes' find_library to load libxkbcommon
2019-06-11 16:58:57 +05:30
Kovid Goyal
9da095ca50
Fix #1703
2019-06-11 16:54:55 +05:30
Kovid Goyal
65b95999c1
version 0.14.2
2019-06-09 13:40:02 +05:30
Kovid Goyal
47acc9ff2f
Get rid of GLFW_(TRUE|FALSE)
2019-06-08 08:14:30 +05:30
Luflosi
e2226a1509
Fix typo
2019-06-07 12:26:52 +02:00
Kovid Goyal
656916e0fa
Use remove_i_from_array in a few more places
...
Also simplify the REMOVER macro
2019-06-07 14:25:33 +05:30
Kovid Goyal
4a55eb9e7f
typo
2019-06-07 13:53:35 +05:30
Kovid Goyal
857a53e80f
Dont crash if GLFW gives us obviously erroneous framebuffer sizes
...
Fixes #1696
2019-06-07 09:28:30 +05:30
Kovid Goyal
84fcabe5cf
Allow using the pipe command to send screen and scrollback contents directly to the clipboard
...
See #1693
2019-06-07 07:47:34 +05:30
Luflosi
d7dd9c295b
Use more specific exception
...
I think it's better to use `ImportError` here instead of the much more generic `Exception`.
2019-06-06 17:45:37 +02:00
Luflosi
741e719ff8
Remove unused function
...
Searching for `color_as_vec3` yielded no results in the entire project
but I encourage you to verify that this function is really not used
anywhere.
2019-06-05 18:01:19 +02:00
Luflosi
7f01e758b3
Simplify code
...
The result from `self.add_os_window()` is overwritten later and not used
between the two assignments, so I removed the first assignment and moved the second
assignment to the line after the call to `self.add_os_window()`.
2019-06-05 17:33:04 +02:00
Luflosi
4783947135
Remove useless code
...
As far as I can tell, `.active_window` does absolutely nothing, so I
removed it.
2019-06-05 16:53:32 +02:00
Luflosi
4eed8463b3
Simplify chained comparisions
2019-06-05 15:24:36 +02:00
Kovid Goyal
303711ab8d
Wayland: Detect SSD by querying compositor
...
Much more reliable than checking environment variables. Does
add ~1ms to startup time on Wayland.
2019-06-05 10:37:57 +05:30
Kovid Goyal
98d7fc9f39
Simplify code
2019-06-05 08:26:25 +05:30