Kovid Goyal
ba7f0132f2
Add a command line option to make --single-instance wait for the closing of the newly opened window before quitting. Fixes #630
2018-06-12 20:53:25 +05:30
Kovid Goyal
5dbaf9aab0
Clean up usage of TTYIO for remote cmds and the shell
2018-06-08 20:17:27 +05:30
Kovid Goyal
19721014d0
Remote control: Fix kitty @ sometimes failing to read the response from kitty.
...
Fixes #614
2018-06-08 15:35:01 +05:30
Kovid Goyal
7cf6b8b594
Move the config utils into its own package
2018-06-03 11:54:26 +05:30
Kovid Goyal
345b3437f4
Add a config option to set the EDITOR kitty uses
...
Useful on systems that make it hard to set system-wide environment
variables. See #580
2018-05-28 12:24:09 +05:30
Kovid Goyal
3b04776956
Show the window much sooner after creating it
...
Do not make any OpenGL calls between creation and showing of the window.
Hopefully, that will make the fussy wlroots happy.
2018-05-27 12:37:50 +05:30
Kovid Goyal
a29c317217
Add code to disable terminal echo to non_blocking_read
2018-05-21 22:09:34 +05:30
Kovid Goyal
029500f3ed
Store fd for screen_size at creation time
2018-05-10 18:27:18 +05:30
Kovid Goyal
2819a4ebf3
...
2018-05-10 09:53:17 +05:30
Kovid Goyal
043530409c
DRYer
2018-05-10 07:47:29 +05:30
Kovid Goyal
27feccba39
diff: More work on image support
2018-05-09 19:41:37 +05:30
Kovid Goyal
7d39d5c088
Ensure only a single screen size function is used
2018-05-09 14:14:09 +05:30
Kovid Goyal
683e5a4754
DRYer
2018-05-09 11:32:09 +05:30
Kovid Goyal
de1a2f7682
Delay load some particularly heavy stdlib modules that are not often needed
2018-05-03 17:53:22 +05:30
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