Kovid Goyal
b82e74f99a
Fix for kitty window not being rendered until moved/resized on macOS Mojave
...
Fixes #887
2018-09-26 19:43:04 +05:30
Kovid Goyal
772d6597a9
macOS: Add an option :opt:macos_traditional_fullscreen to make full-screening of kitty windows much faster, but less pretty.
...
See #911
2018-09-12 21:27:49 +05:30
Kovid Goyal
21d586cc86
macOS: Fix resizing semi-transparent windows causing the windows to be invisible during the resize
...
Fixes #941
Workaround for https://github.com/glfw/glfw/issues/1251
2018-09-12 10:44:24 +05:30
Theodore Dubois
94052bb712
Add option to increase font thickness on macOS
2018-09-10 19:30:29 -07:00
Kovid Goyal
009ef54de7
Implement high precision scrolling with the trackpad on platforms such as macOS and Wayland that implement it.
...
Fixes #819 . Note that I have no idea whether the code works well on
retina screens, might have to multiple the pixel count by the scale
factor on those screens?
2018-08-24 11:00:58 +05:30
Kovid Goyal
9af3081f45
The focus_follows_mouse option now also works across top-level kitty OS windows
...
Fixes #772
2018-07-30 21:26:20 +05:30
Kovid Goyal
78def6e6bf
kitty @ new-window: Add a new option --window-type
...
To create top-level OS windows. Fixes #770
2018-07-30 08:40:26 +05:30
Kovid Goyal
1486af8770
More debug output when using --debug-keyboard
2018-07-26 08:41:16 +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
77c4f5fecc
When dragging to select with the mouse "grab" the mouse so that if it strays into neighboring windows, the selection is still updated
...
Fixes #624
2018-07-06 10:33:01 +05:30
Kovid Goyal
619c3a0025
macOS: Add an option macos_window_resizable to control if kitty top-level windows are resizable using the mouse or not
...
Fixes #698
2018-07-03 06:49:28 +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
b9dd434fab
Add an option to control quit on last window behavior
2018-06-07 08:03:47 +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
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
e056460f0b
Split up creation of font group and sending of sprites to GPU
2018-05-27 12:37:49 +05:30
Kovid Goyal
997c244664
Allow specifying initial window size in number of cells
2018-05-27 12:37:49 +05:30
Kovid Goyal
df9eab279a
Implement changing the font size for individual top level (OS) windows
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
c0f790c928
Add a remote command to control window opacity
...
Fixes #569
2018-05-23 08:13:37 +05:30
Kovid Goyal
7282d8edc1
Add an option to control how much dimming SGR dim does
2018-05-20 11:00:13 +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
86686bfac7
Avoid rendering tab bar more than once per tick
2018-05-03 17:00:18 +05:30
Kovid Goyal
f2afba2ef4
Change the window border color if a bell occurs in an unfocused window. Can be disabled by setting the bell_border_color to be the same as the inactive_border_color.
2018-05-02 22:02:45 +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
053835afbe
Add an option to not request window attention on bell. Fixes #507
2018-04-29 18:16:41 +05:30
Kovid Goyal
2e693c31df
Refactor shortcut config parsing
...
Resolution of kitty_mod and creation of the maps now happens in one
central place after all config is parsed. Fixes #496
Also have --debug-config output multi-key shortcuts nicely as well.
2018-04-27 11:16:58 +05:30
Kovid Goyal
0f06bf1bdb
Merge branch 'macos_hide_from_tasks' of https://github.com/cfal/kitty
2018-04-27 08:19:32 +05:30
Alex Lau
b7f4f2e898
Move call to cocoa_window.m
2018-04-26 12:42:56 -07:00
Kovid Goyal
bd0382830a
Add a setting (kitty_mod) to change the modifier used by all the default kitty shortcuts, globally
...
See #487
2018-04-24 08:53:07 +05:30
Kovid Goyal
325d2bc14e
Improve mouse selection for windows with padding
...
Moving the mouse into the padding area now acts as if the mouse is over
the nearest cell. Fixes #430
Note that this only applies to padding defined via the
window_padding_width option, not any leftover space from the window size
not being an exact multiple of the cell size.
2018-04-01 18:06:27 +05:30
Kovid Goyal
530fd61125
Add support for multi-key shortcuts
...
Fixes #338
2018-03-31 12:21:37 +05:30
Kovid Goyal
d0f839bbd8
Fix audible bell not working under Wayland
2018-03-27 19:45:19 +05:30
Kovid Goyal
1e6a41186f
Move check for NULL boss into call_boss()
...
Negligible perf impact and makes it safe to use in different contexts
2018-03-27 09:56:29 +05:30
Kovid Goyal
773f26b61d
Fix screen not being refreshed immediately after moving a window. Fixes #397
2018-03-16 22:00:57 +05:30
Kovid Goyal
bae8915881
Add an option to have kitty close the window when the main processes running in it exits, even if there are still background processes writing to that terminal.
...
Merge branch 'master' of https://github.com/josswright/kitty
2018-03-13 09:08:45 +05:30
Kovid Goyal
9c46de319e
MacOS: Fix restoring of window size not correct on Retina screens
...
Fixes #382
2018-03-13 08:19:15 +05:30
Joss Wright
994eecadb7
Adds close_on_child_death option for disowned processes.
2018-03-12 21:02:37 +00:00
Kovid Goyal
139838c717
Option to print debug information about font fallback
2018-02-28 21:43:40 +05:30
Kovid Goyal
68bf1be8d0
render on cursor shape change as well
2018-02-20 11:54:35 +05:30
Kovid Goyal
d5edea3c7f
render on cursor position change as well
2018-02-20 11:27:39 +05:30
Kovid Goyal
2913c1aedc
Change the color of the padding and margins to match the current background color of the window, when only a single window is visible.
...
Fixes #323
2018-02-20 09:43:49 +05:30
Kovid Goyal
5a15f7e8ad
Sync to monitor refreshes by default
...
Prevents tearing while scrolling. See #318
Reduce draw calls while processing mouse move events to make latency
while selecting with the mouse acceptable. Also add a config option to
turn off monitor syncing, so people with keyboard repeat rates higher
than their monitor's refresh rate can use it.
2018-02-20 09:38:00 +05:30
Kovid Goyal
e6cb64baa5
Revert "Enable syncing of redraws to monitor refresh rate"
...
This reverts commit 6a51096304e017043cf2113b3070802b301dd627.
Turns out that dynamically changing the swap interval causes bad flicker
when rendering on X11 in a fullscreen window (or more generally, when
only a single X11 window is visible).
2018-02-20 08:32:33 +05:30
Kovid Goyal
6a51096304
Enable syncing of redraws to monitor refresh rate
...
Now, when large changes, such as scrolling occur, the OpenGL back buffer
swapping is synchronized to the monitor refresh rate (if supported by
the OS). This eliminates tearing artifacts when scrolling the screen fast.
Fixes #318
2018-02-14 20:59:58 +05:30
Kovid Goyal
b1b76ca250
Redraw windows when the window manager tells us they have been damaged
...
Needed on systems with non-compositing window managers. Fix #317
2018-02-10 06:54:30 +05:30
Kovid Goyal
0c7d51dd9d
Avoid unnecessary draw calls with multiple OS Windows
...
Do not ask the GPU to draw and swap buffers for OS Windows that are not
dirtied. See #313
2018-02-06 19:32:24 +05:30