Kovid Goyal
23851e31bf
When calling pass_selection_to_program use the current directory of the child process as the cwd of the program. Fixes #491
2018-04-25 08:30:22 +05:30
Kovid Goyal
9962ac2703
...
2018-04-23 10:54:04 +05:30
Kovid Goyal
edc4b91d15
Expand ~ and env vars in program names. Fixes #483
2018-04-23 10:53:20 +05:30
Kovid Goyal
964ffadc8e
DRYer
2018-03-08 13:37:56 +05:30
Kovid Goyal
c7506496da
Unify error logging between python and C
2018-03-04 11:55:47 +05:30
Kovid Goyal
1e3d3df9b8
Remove unused code
2018-03-04 10:59:12 +05:30
Kovid Goyal
ed75ad0d41
Log a timestamp as well when printing error messages from python
2018-03-04 10:44:28 +05:30
Kovid Goyal
15f07f57bf
Finish remote control via socket implementation
2018-03-03 10:32:49 +05:30
Kovid Goyal
bc21ec7551
Have kitty @ use /dev/tty instead of stdout/stdin
...
Allows redirecting those streams, while still being able to send
messages. Downside is that if user runs it outside kitty there wont
be any useful error message.
2018-03-02 09:08:58 +05:30
Kovid Goyal
51e3e9997c
Allow clicking URLs via keybaord hints by pressing ctrl+shift+e
2018-02-14 17:18:57 +05:30
Kovid Goyal
3f24e5b571
A few more places to remove wcwidth from
2018-02-04 22:47:02 +05:30
Kovid Goyal
7b33a87725
@send-text allow sending from files and stdin
2018-01-10 10:37:43 +05:30
Kovid Goyal
1f976644bf
Refactor read with timeout logic into its own function
2018-01-08 12:48:14 +05:30
Kovid Goyal
e69de2f968
Use the new glfw API for setting WM_CLASS
2017-12-20 09:18:29 +05:30
Kovid Goyal
a6700c951a
Also filter 8-bit control sequences when sanitizing
2017-12-15 09:36:45 +05:30
Kovid Goyal
684a2e05f4
Move logical DPI calculation into glfw module
...
Now DPI state is maintained in only one central place.
2017-12-14 18:30:53 +05:30
Kovid Goyal
c7e1a12eb6
Have pt_to_px use global_state instead of get_dpi
...
DRYer and reduces code size
2017-12-14 18:04:10 +05:30
Kovid Goyal
e0ef563885
Use glfw primary monitor content scale for logical DPI on macOS as well
...
It gives the correct DPI value on a MacBook Air monitor, while physical
DPI is too high, leading to overlarge fonts.
2017-12-12 23:47:42 +05:30
Kovid Goyal
c12bce3d2f
Respond to OSC color query escape codes
2017-12-01 21:02:30 +05:30
Kovid Goyal
47dec2c2e9
Dynamic detection of wayland
2017-12-01 12:16:13 +05:30
Kovid Goyal
eb8f4e0b3c
isosx -> is_macos
2017-12-01 12:16:13 +05:30
Kovid Goyal
32a6dd2aa1
Add a command line switch to set the name part of WM_CLASS independently
2017-12-01 12:16:13 +05:30
Kovid Goyal
cfc99baac4
Get rid of ctypes based loading of libglfw/libX11
2017-12-01 12:15:36 +05:30
Kovid Goyal
b08f4ab593
Use startup notifications in single instance mode
2017-12-01 12:15:35 +05:30
Kovid Goyal
c5d17934e4
Function to establish IPC communication
2017-12-01 12:15:35 +05:30
Kovid Goyal
8cad6ae9d6
Fix leak-on-exit from libstartup-notification
2017-11-16 10:29:21 +05:30
Kovid Goyal
0518cabef6
Infrastructure for rendering cells in the test suite
2017-11-09 16:55:41 +05:30
Kovid Goyal
ba1883c1de
X11: Add support for startup notifications
...
Prevents busy cursor in i3 root window after launching and quitting
kitty immediately.
2017-11-07 23:19:15 +05:30
lxcode
d39ba72591
Wrong indent level
2017-11-01 15:23:58 -07:00
Kovid Goyal
b4d824e165
Use the glfw 3.3 content scale API to get DPI on X11/wayland
2017-10-27 10:27:42 +05:30
Kovid Goyal
6350652009
Reap zombies in a signal handler
...
Avoids relying on jernel behavior, which may not be portable across all
unices
2017-10-22 19:13:13 +05:30
Kovid Goyal
d239db8492
Simply reaping of dead processes
...
Let the kernel do the reaping, since we do not care about the exit code
anyway. This should also fix #151 .
2017-10-22 17:42:49 +05:30
Kovid Goyal
b5c4fbb42b
...
2017-10-22 17:11:58 +05:30
Kovid Goyal
1276bd6f5d
Simply code to query xrdb for Xft.dpi
2017-10-22 17:09:30 +05:30
Kovid Goyal
f947c2eecb
Redirect std streams to devnull when opening URL
2017-10-20 13:07:48 +05:30
Kovid Goyal
e558880e8f
Load glfw primary selection functions dynamically
...
Allows kitty to run on wayland. Also dont try to set the window
icon on wayland.
2017-10-18 12:46:32 +05:30
Kovid Goyal
7f3c808e66
Use glfw 3.3 functions for the primary selection
...
Allows us to drop the dependency on xsel for systems with glfw 3.3
2017-10-17 21:44:56 +05:30
Kovid Goyal
a921180224
Port middle-click-to-paste to C
2017-09-15 10:45:25 +05:30
Kovid Goyal
44f456089b
Migrate the cell program
2017-09-15 10:45:22 +05:30
Kovid Goyal
94c4c00859
Move signal handling code into the C module
2017-09-15 10:45:11 +05:30
Kovid Goyal
941c553172
Implement an option to adjust the line height
...
Fixes #116
2017-08-26 14:14:51 +05:30
Kovid Goyal
ed50595aca
Add a --detach option
...
Allows kitty to detach itself from the controlling terminal. Useful
when launching kitty from a GUI environment with broken stdout/stderr or
when launching from a terminal that you want to close later without
affecting the launched kitty instance.
2017-08-03 22:35:47 +05:30
Kovid Goyal
9d62d087e0
Redirect xsel std streams to /dev/null
...
Prevents hanging if the streams are blocked. Fixes #102
2017-08-03 21:55:09 +05:30
Kovid Goyal
bbc6b2d86a
Option to size window margin (blank area outside window borders)
...
Defaults to zero
2017-06-05 22:27:47 +05:30
Kovid Goyal
448ba26257
DRYer
2017-05-20 00:58:40 +05:30
Kovid Goyal
1d1138ca31
Be a little more stringent with Xft parsing
2017-05-20 00:26:26 +05:30
Kovid Goyal
357a415386
...
2017-05-20 00:23:43 +05:30
Kovid Goyal
a65856ec98
Use Xlib to directly query the xrm system.Only if it fails do we try to shell out to xrd
2017-05-20 00:21:09 +05:30
Kovid Goyal
83855e16ce
On linux query xrdb for Xft.dpi and use that, if set as the logical DPI.
...
Fall back to the actual physical dpi as returned by GLFW if that fails.
2017-05-19 23:26:09 +05:30
Kovid Goyal
6133fd581a
Generate X11 RGB color name table from rgb.txt
2017-05-17 07:38:56 +05:30