Daniel Colascione
668f6fa257
More robustly strip bracketed paste termination sequence
...
The previous code performed only one replacement on the bracketed
paste content. This procedure didn't stop someone embedding the
terminating sequence anyway. POC:
1) $ x=$'\033[201~'; printf '%s%s%s\necho hello world\n' "${x:0:1}" "$x" "${x:1}" | xclip
2) paste into kitty
3) see the shell execute a command!
This patch closes this hole.
2018-06-08 04:53:02 -07:00
Kovid Goyal
5701ec4082
Remove duplicate import
2018-06-08 15:42:42 +05:30
Kovid Goyal
04afe969a0
Fix building on macOS with termios.h
2018-06-08 15:41:40 +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
44b84ba295
Update glfw from upstream
2018-06-08 14:27:30 +05:30
Kovid Goyal
f80f61f84f
...
2018-06-08 12:54:38 +05:30
Kovid Goyal
6247270011
Build the docs on Travis
2018-06-08 12:03:51 +05:30
Kovid Goyal
68394cebe3
Linux: Include a man page and the HTML docs when building the linux-package
2018-06-08 11:06:41 +05:30
Kovid Goyal
a386277df9
Release a source tarball that contains pre-built docs
2018-06-08 10:36:33 +05:30
Kovid Goyal
f88b98ccd9
Generate a simple man page with the output of kitty --help
2018-06-08 10:13:15 +05:30
Kovid Goyal
eecf80469e
Update glfw from upstream
...
Adds glfwpostemptyevent not working fix to wayland backend as well
2018-06-08 09:14:14 +05:30
Kovid Goyal
66dd83027d
Use pipe2() on non-Apple platforms
2018-06-08 08:15:12 +05:30
Kovid Goyal
a1355484a6
Use the process name as the default window title rather than "kitty"
...
Fixes #610
2018-06-07 23:23:10 +05:30
Kovid Goyal
ca17e9b02c
...
2018-06-07 22:23:15 +05:30
Kovid Goyal
dd085a9297
Update glfw from upstream
...
Fixes https://github.com/glfw/glfw/issues/1281
2018-06-07 21:46:01 +05:30
Kovid Goyal
6c72c93b02
Fix inactive_text_alpha also applying to the tab bar
...
Fixes #612
2018-06-07 20:19:29 +05:30
Kovid Goyal
223fe85449
Mention the kitty website in kitty --help
2018-06-07 18:22:39 +05:30
Kovid Goyal
365c992f80
Fix only one the two fds created by self_pipe having CLOEXEC and NONBLOCK set
2018-06-07 15:48:50 +05:30
Kovid Goyal
1dd489cf0c
Add --chop-long-lines to the less invocation as it ensures line numbers are correct even if the scrollback window is narrower
2018-06-07 13:29:31 +05:30
Kovid Goyal
ed0239a556
When viewing the scrollback in less and kitty is currently scrolled, position the scrollback in less to match kitty's scroll position.
...
Fixes #148
2018-06-07 13:25:37 +05:30
Kovid Goyal
dbb94fc1ff
Fix wrap markers not being added when getting the history buf as text
2018-06-07 13:12:15 +05:30
Kovid Goyal
b9dd434fab
Add an option to control quit on last window behavior
2018-06-07 08:03:47 +05:30
Kovid Goyal
23d089b4be
macOS: Add macOS standard shortcuts
...
For copy, paste and new OS window (⌘+C, ⌘+V, ⌘+N)
Only defined on macOS, not Linux, thanks to the new config
infrastructure.
2018-06-07 07:54:21 +05:30
Kovid Goyal
faa5443d43
macOS: When clicking dock icon with no windows, create a new window
2018-06-07 07:19:39 +05:30
Kovid Goyal
1afa91bbb4
macOS: Keep kitty running when the last window is closed
...
This is how applications are supposed to behave on macOS. Fixes #543
2018-06-07 06:19:36 +05:30
Kovid Goyal
908823166e
NULL check
2018-06-07 05:52:55 +05:30
Kovid Goyal
6845dd115e
Add a config option to hide window decorations under X11/Wayland
...
Fixes #607
2018-06-07 05:48:51 +05:30
Kovid Goyal
ad44e1a515
macOS: Fix crash when triggering some global menu actions with the mouse
2018-06-06 22:53:07 +05:30
Kovid Goyal
2e8d19601b
macOS: Fix the new OS window keyboard shortcut not working if no kitty window currently has focus.
...
Fixes #524
2018-06-06 22:18:33 +05:30
Kovid Goyal
f259c23695
Use the binary install instructions on the front-page
...
Testing has revealed no problems with the binary installer, so
make it live. Fixes #595
2018-06-06 17:19:05 +05:30
Kovid Goyal
f75957d8c0
...
2018-06-06 13:31:29 +05:30
Kovid Goyal
53ae5a4f8d
A new tab bar style
2018-06-06 13:27:15 +05:30
Kovid Goyal
c76a8242e2
Make the icat kitten work even if stdout/stdin are redirected
2018-06-06 12:04:10 +05:30
Kovid Goyal
8a1a45b067
Allow the diff kitten to work even if stdout/stdin are redirected
...
Now directly opens /dev/tty
2018-06-06 12:01:47 +05:30
Kovid Goyal
8f433f5ff6
...
2018-06-06 11:27:03 +05:30
Kovid Goyal
97c317b735
Make screen_size handling in tui cleaner
...
Now screen size is fetched only for output_fd rather than sys.stdout
2018-06-06 11:20:55 +05:30
Kovid Goyal
c8e9199b03
Refactor tab drawing code
2018-06-06 09:17:31 +05:30
Kovid Goyal
351e1a5a15
Tabulate consecutive maps
2018-06-05 14:06:57 +05:30
Kovid Goyal
7b1449ba46
Include sample conf files
2018-06-05 13:57:51 +05:30
Kovid Goyal
3983953e72
Indented blocks should also be doc-commented
2018-06-05 13:54:39 +05:30
Kovid Goyal
84ad0604f4
Wrap generated conf file
2018-06-05 13:22:09 +05:30
Kovid Goyal
c509c5eb0d
Add custom syntax highlighting for conf and session files
2018-06-05 12:37:04 +05:30
Kovid Goyal
d39cf5d702
Get rid of the default diff.conf
2018-06-05 10:44:18 +05:30
Kovid Goyal
2b0d8bfe46
Get rid of the default kitty.conf
2018-06-05 09:17:31 +05:30
Kovid Goyal
61fc96b187
...
2018-06-05 08:48:37 +05:30
Kovid Goyal
070e95b5e1
Make sphinx warnings fatal
2018-06-05 08:47:34 +05:30
Kovid Goyal
727028280a
...
2018-06-05 08:46:40 +05:30
Kovid Goyal
ea4a7136f0
Get rid of the |kitty.conf| substitution
2018-06-05 08:44:51 +05:30
Kovid Goyal
065a2b37c7
Get rid of the |sc_| substitution rules
2018-06-05 08:13:28 +05:30
Kovid Goyal
b5e452942e
Port changes from master
2018-06-05 07:56:41 +05:30