Kovid Goyal
c04e1aedb2
Use basenames for default window title
2018-06-11 12:39:13 +05:30
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
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
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
1dc9adebb4
Add an option to @set-window-title to make the change overridable
2018-06-01 06:49:47 +05:30
Kovid Goyal
dab57f3819
When receiving contiguous non-empty OSC 52 clipboard writes, combine them.
...
Max combined text is set at 1MB. Allows sending texts larger than the
escape code size limit.
2018-05-28 21:50:42 +05:30
Kovid Goyal
88d0499818
If non-base64 encoded data sent via OSC 52 clear the clipboard as suggested by xterm docs
2018-05-28 21:26:59 +05:30
Kovid Goyal
51706ed195
Fix inverted permission check for write-clipboard
2018-05-28 21:18:39 +05:30
Kovid Goyal
a42bc3bf8c
oops
2018-05-27 12:37:49 +05:30
Kovid Goyal
523aadaa3b
Refactor font group handling
...
Allow kitty to manage multiple groups of fonts with different cell
sizes. Will eventually allow kitty to have different font sizes/dpi per
OSWindow
2018-05-27 12:37:05 +05:30
Kovid Goyal
23d0f5ce32
Preserve line numbers when adding in shifts to shader
2018-05-23 19:41:54 +05:30
Kovid Goyal
8a3e81b7ba
Send an empty response to clipboard queries if reading from clipboard is not allowed or the clipboard is empty
...
Prevents utilities from hanging when querying the clipboard. Also fix 52
prefix missing from the OSC response.
2018-05-21 23:17:39 +05:30
Kovid Goyal
6f2d63eb87
Implement SGR dim
...
kitty now supports the SGR DIM escape code, which makes text fade into
the background. It works by alpha blending the text color into the
background color. Fixes #446
2018-05-20 10:43:26 +05:30
Kovid Goyal
fb57653665
Make debugging kittens a little nicer
...
Now debug() writes to the stderr of the parent kitty process instead of
a temp file.
2018-05-19 16:32:08 +05:30
Kovid Goyal
0e327f3d13
Allow kittens to ask for wrap markers
2018-05-18 23:09:27 +05:30
Kovid Goyal
8ea84c97d5
Use an overlay window for window resizing
...
Also implement a remote command to resize windows
2018-05-17 23:26:41 +05:30
Kovid Goyal
e053d1f566
Implement resizing of individual windows in a layout
...
See the Layouts section in the README for details. Fixes #362
Note that it is only implemented for the Tall layout currently. Other
layouts to follow. The implementation might also be refined in the
future.
2018-05-17 15:09:41 +05:30
Kovid Goyal
889ca77912
Allow programs running in kitty to read/write from the clipboard
...
By default only writing is allowed. There is a config option to enable
reading, if needed.
2018-05-07 09:57:39 +05:30
Kovid Goyal
efcd3a5df7
Show a bell on the tab if a bell occurs in one of the windows in the tab and the window is not the currently focused window. Fixes #514
2018-05-02 21:44:14 +05:30
Kovid Goyal
9cacfc0c26
macOS: When the macos_titlebar_color is set to background change the titlebar background to match the current background color of the active kitty window
2018-05-01 23:37:48 +05:30
Kovid Goyal
aa93c3fb66
Fix passing @text to other programs such as when viewing the scrollback buffer not working correctly if kitty is itself scrolled up. Fixes #509
2018-05-01 07:38:05 +05:30
Kovid Goyal
9ea0de868c
Parse send_text payload only once at startup
2018-04-27 18:13:37 +05:30
Kovid Goyal
b3ed4e3bc2
...
2018-04-25 09:16:10 +05:30
Kovid Goyal
316e7cb9f5
Also use cwd of child when opening programs via the hints kitten
2018-04-25 09:07:35 +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
8f423c6d8f
Fix padding color not tracking active window bg color
2018-02-20 09:52:19 +05:30
Kovid Goyal
0bb8ec61e5
Fix regression caused by overlay window support code
...
Closing a window would not update the window layout, depending on the
position of the window in the current layout.
2018-02-15 09:16:00 +05:30
Kovid Goyal
807c8f9005
Do not send history buf in alternate screen mode
2018-02-14 20:46:12 +05:30
Kovid Goyal
9c21610215
Use a single generic function to get text and ANSI representations of all buffers
2018-02-14 20:38:53 +05:30
Kovid Goyal
0bda7b3679
When running kittens respect current screen scroll
2018-02-14 18:35:32 +05:30
Kovid Goyal
3068846d8f
Implement using Ctrl+Shift+u to input unicode
...
Fixes #302
2018-02-08 22:47:17 +05:30
Kovid Goyal
561e63ee2d
Use an overlay window for browsing the scrollback buffer in less
2018-02-04 11:28:13 +05:30
Kovid Goyal
51c0f01539
Support for overlay windows in the layout manager
2018-02-04 11:28:02 +05:30
Kovid Goyal
4f12c91fff
Use the new region function everywhere
...
Centralizes window layout calculation and no longer assumes
tab bar geometry
2018-01-19 15:56:07 +05:30
Kovid Goyal
e5b9bd2e5a
Implement @get-text
2018-01-09 22:48:24 +05:30
Kovid Goyal
3b551a1dee
Implement @set-window-title
2018-01-08 14:04:27 +05:30
Kovid Goyal
b4cb9d7c4d
...
2018-01-08 13:07:47 +05:30
Kovid Goyal
c6d10c6a23
Use the launch time argv for cmdline on macOS
2018-01-08 13:07:06 +05:30
Kovid Goyal
464c7a80e2
Implement window matching for remote control
2018-01-08 13:01:57 +05:30
Kovid Goyal
0cea6d5a1b
Implement window listing
2018-01-08 12:48:15 +05:30
Kovid Goyal
f3cb68ee40
Framework for remote control
2018-01-08 12:48:14 +05:30
Kovid Goyal
a6700c951a
Also filter 8-bit control sequences when sanitizing
2017-12-15 09:36:45 +05:30
Kovid Goyal
c17c6cae4c
Support S8C1T mode
...
That is, eight bit control codes. When in S8C1T mode, kitty will send
only eight bit control codes to the client.
2017-12-05 20:21:12 +05:30
Kovid Goyal
c12bce3d2f
Respond to OSC color query escape codes
2017-12-01 21:02:30 +05:30
Kovid Goyal
7fb48dc04c
...
2017-12-01 12:16:15 +05:30
Kovid Goyal
444d9536a7
Graphics programs should generate pre-multipled colors in interleaved mode
...
Also fix a few OpenGL state initialization issues.
2017-12-01 12:16:15 +05:30
Kovid Goyal
ffff343e3d
Work on rendering to FBO
2017-12-01 12:16:15 +05:30
Kovid Goyal
f85c050235
Get background_opacity working, at the cost of breaking negative z-index image rendering.
...
Image rendering will need to use an FBO since OpenGL cannot do proper alpha compositing.
As a first step, the interleaved shaders now generate premultiplied colors as opengl can only alpha blend pre-multipled colors
2017-12-01 12:16:14 +05:30
Kovid Goyal
9cedefb50c
Port tab_manager and miscellaneous cleanups
2017-12-01 12:15:33 +05:30