Commit Graph
100 Commits
Author SHA1 Message Date
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
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