Kovid Goyal
833865cb28
Re-enable brew based build on travis
...
New harfbuzz release will hopefully work again
2018-07-28 23:54:23 +05:30
Kovid Goyal
02635d506e
Dont use _XOPEN_SOURCE when building
...
Apparently it has exactly opposite semantics for glibc and whatever libcs
are used on BSD. What a clusterfuck.
2018-07-28 22:56:18 +05:30
Kovid Goyal
f018e1a075
Nicer check for is_binary
2018-07-28 14:02:01 +05:30
Kovid Goyal
c79cde43ae
...
2018-07-28 14:00:18 +05:30
Kovid Goyal
8a812c9d02
diff kitten: Fix error when only RHS file is a binary file
...
Fixes #752
2018-07-28 13:59:32 +05:30
Kovid Goyal
3df78de3f8
Update pending mode escape code parsing to match latest shed color
2018-07-28 10:56:34 +05:30
Kovid Goyal
bd4831e2ee
Some explicit includes needed for FreeBSD
2018-07-26 19:50:38 +05:30
Kovid Goyal
341a34ea9e
Assume file extensions are up to 7 chars long
...
See .desktop files
2018-07-26 18:37:13 +05:30
Kovid Goyal
011866a101
Add a keyboard shortcut to reset the terminal
...
It takes parameters so you can define your own shortcuts to clear the screen/scrollback also. Fixes #747
2018-07-26 17:29:13 +05:30
Kovid Goyal
1486af8770
More debug output when using --debug-keyboard
2018-07-26 08:41:16 +05:30
Kovid Goyal
f06e04ffc5
Fix #745
2018-07-26 07:03:41 +05:30
Kovid Goyal
d72098bdf8
Preserve the mouse selection even when the contents of the screen are scrolled or overwritten provided the new text does not intersect the selected lines.
...
Requires a small CPU usage overhead when scrolling/drawing characters
even in the absence of a selection. I couldn't isolate the overhead from
statistical noise in my testing.
2018-07-25 16:16:57 +05:30
Kovid Goyal
57871e1983
Restore sys.path after importing custom kitten
2018-07-25 09:51:04 +05:30
Kovid Goyal
21dbb0e820
Improve the help message for the kitten remote control cmd
2018-07-25 09:49:01 +05:30
Kovid Goyal
007f377f16
Allow running kitten via the remote control system
...
Fixes #738
2018-07-25 09:45:11 +05:30
Kovid Goyal
da15477aaf
Make the choice of default editor a bit more robust
2018-07-25 08:57:44 +05:30
Kovid Goyal
4f34ad0a8d
...
2018-07-24 14:14:34 +05:30
Kovid Goyal
6ed9dccde2
Remove unused parameter
2018-07-24 13:51:45 +05:30
Kovid Goyal
ce2b3265be
Remote control: Allow matching windows by the environment variables of their child process as well
2018-07-24 12:40:59 +05:30
Kovid Goyal
14ea69c9c7
Pass pid of child process as env var to kittens
2018-07-24 11:28:34 +05:30
Kovid Goyal
72e2307c16
Code to get the env vars of a process
2018-07-24 11:27:10 +05:30
Kovid Goyal
0dd3334811
Implement getting cmdline of process on macOS as well
2018-07-24 11:07:53 +05:30
Kovid Goyal
5485436ea1
...
2018-07-24 10:18:37 +05:30
Kovid Goyal
9e044750ce
When running kittens use the cwd of the child process as the kittens' cwd
2018-07-24 10:14:17 +05:30
Kovid Goyal
f84cb2f07a
...
2018-07-24 09:32:21 +05:30
Kovid Goyal
e0ff6bcc5d
Implement protocol for atomic screen updates
...
See https://gitlab.com/gnachman/iterm2/wikis/synchronized-updates-spec
2018-07-23 13:24:49 +05:30
Kovid Goyal
1695f6800c
Expand links to kitty docs in sample kitty.conf
2018-07-20 21:21:52 +05:30
Kovid Goyal
810f149501
Fix #731
2018-07-20 21:04:07 +05:30
Kovid Goyal
05d51d8693
Fix #730
2018-07-20 15:55:39 +05:30
Kovid Goyal
ac4c819f57
Add a warning not to edit the apc parsers header files
2018-07-20 09:45:05 +05:30
Kovid Goyal
e7cc654bb4
Make error message when creating glfw window fails a little more useful
2018-07-20 09:36:42 +05:30
Kovid Goyal
bf37e3f77f
Format generated header using clang-format
2018-07-19 18:56:10 +05:30
Kovid Goyal
af9f7bb0d2
Generate the code to parse APC escape codes
...
Allows it to be re-used for other APC codes
if needed.
2018-07-19 18:43:26 +05:30
Kovid Goyal
0b7abf5690
Fix test that needed to be changed for new prerendered sprites
2018-07-19 14:21:09 +05:30
Kovid Goyal
490ae248f8
Render all cursor shapes in the cell shader
2018-07-19 14:05:15 +05:30
Kovid Goyal
e552bcb0c6
Prerender cursor sprites
2018-07-19 14:03:39 +05:30
Kovid Goyal
2c27316c4a
Get rid of the cursor program
...
Cursors will now be drawn in the cell program using a sprite
2018-07-19 12:46:25 +05:30
Kovid Goyal
c49dd12855
Pass in cursor shape to cell shader
2018-07-19 12:13:39 +05:30
Kovid Goyal
544f97a3fe
...
2018-07-19 11:18:31 +05:30
Kovid Goyal
6a909e0700
Get rid of the last branch in the cell shader
2018-07-19 10:56:28 +05:30
Kovid Goyal
40a6ad9a1f
...
2018-07-19 06:07:04 +05:30
Kovid Goyal
039f2b49e8
Remove workaround for #654 as it has been upstreamed
2018-07-19 05:11:03 +05:30
Kovid Goyal
5ae2406a03
macOS: Allow scrolling window contents using mouse wheel/trackbar even when the window is not the active window
...
Fixes #729
2018-07-18 10:34:36 +05:30
Kovid Goyal
2c3235d452
Remove need to call super-class on_resize method
2018-07-15 16:19:54 +05:30
Kovid Goyal
d2ea71a403
Remove unused code
2018-07-15 16:14:40 +05:30
Kovid Goyal
feb97b2313
Use asyncio for jobs in the diff kitten
2018-07-15 16:09:52 +05:30
Kovid Goyal
0b662ecb9a
Refactor the kittens tui loop to use asyncio
...
Gets us timers and various jobs for free, and makes it easier to
integrate with libraries that use asyncio from the larger python
ecosystem.
2018-07-15 15:27:35 +05:30
Kovid Goyal
3d0da77c80
Revert change to set PYTHONIOENCODING on macOS
...
It is not needed in python 3.7 as the POSIX locale is
now UTF-8 by default
2018-07-15 12:19:48 +05:30
Kovid Goyal
9918397190
Add an option :opt:env to set environment variables in child processes from kitty.conf
2018-07-15 12:16:43 +05:30
Kovid Goyal
b3e2562c00
macOS bundle: Set the PYTHONIOENCODING env var to utf-8
...
There are apparently still some situations where python ends up with
ascii as its I/O encoding on macOS. See #724
2018-07-15 10:38:40 +05:30