Kovid Goyal
275ede6f0a
Fix a fast click, move mouse, click sequence causing the first click event to be discarded
...
Fix #4603
2022-02-11 14:46:37 +05:30
Kovid Goyal
0dbe27438d
Ensure CSI are stripped from menbar title as well
2022-02-09 08:07:18 +05:30
Kovid Goyal
e9ea7b13b6
macOS: Add an option to control the max length of the window title displayed in the global menubar
...
Fixes #2132
2022-02-07 21:57:36 +05:30
pagedown
f5337096d5
Rename LAUNCH_URL to LAUNCH_URLS
2022-02-06 18:57:40 +08:00
pagedown
51d591e177
macOS: Allow opening URLs with kitty
2022-02-05 13:05:41 +08:00
Kovid Goyal
50bc5b0302
macOS: Add the default shortcut cmd+k to clear the terminal screen and scrollback up to the cursor
...
Fixes #4625
2022-02-04 11:58:52 +05:30
pagedown
a987fb81a0
Emits an IME lost focus event when the window lost focus or closed
2022-01-27 10:13:57 +08:00
Kovid Goyal
ca4840717b
macOS: Fix using shortcuts from the global menu bar as subsequent key presses in a multi key mapping not working
...
Fixes #4519
2022-01-15 13:56:18 +05:30
Kovid Goyal
24c44861ef
Cleanup previous PR
...
Simplify wrapping of toggle_secure_input
Dont duplicate debug_keyboard flag in two places
2022-01-09 22:11:22 +05:30
pagedown
f7be4fab48
macOS: Allow mapping secure keyboard entry shortcut
2022-01-09 22:54:03 +08:00
Kovid Goyal
a867b4444d
Clamp border rects to pixels
...
This uses the same co-ord calculation for border rects as for text
cells. DRYer and avoids borders and blank rects being drawn at haf pixel
offsets.
2021-12-31 06:20:57 +05:30
pagedown
278477b387
Add light and dark to the macOS title bar option
2021-12-21 15:14:08 +08:00
Kovid Goyal
2546afb7aa
Use a struct to pass around cell render data
2021-12-05 11:57:22 +05:30
Kovid Goyal
42a2493286
Fade the window logo by a configurable amount
2021-12-03 18:05:59 +05:30
Kovid Goyal
6f48dda8b9
Fix storage of window logos
...
Store by id not pointer since the pointers are not stable. And use two
hash maps by path and by id for fast lookup.
2021-12-03 17:43:45 +05:30
Kovid Goyal
3d2877eeb9
More work on per window logo
2021-12-03 13:19:10 +05:30
Kovid Goyal
e04919098f
Start work on a per window logo
2021-12-02 11:14:17 +05:30
Kovid Goyal
5561aa1d37
Allow forcing IME update
2021-11-28 22:53:45 +05:30
pagedown
b91809eaa4
Allows to open the command output in pager by mouse click
2021-11-17 22:25:49 +08:00
pagedown
aebf654e15
Add command output mouse selection
2021-11-16 18:15:53 +08:00
Kovid Goyal
95e6e80921
Restore maximized window state when returning from fullscreen
2021-11-13 12:22:52 +05:30
Kovid Goyal
f36b71350d
Use an anonymous struct for before_fullscreen
2021-11-13 12:15:27 +05:30
Kovid Goyal
35626d3929
Update IME position when overlay line is moved on input from child process
2021-11-12 15:07:25 +05:30
Kovid Goyal
4ab5d97e9b
macOS: Fix IME position incorrect after moving OS window
2021-11-12 08:51:03 +05:30
Kovid Goyal
60e91b018a
Wrap the glfw is fullscreen API
2021-11-11 12:46:13 +05:30
Kovid Goyal
9cda076c93
Fix restoring of OS window title after visual selection
2021-11-06 11:28:56 +05:30
Kovid Goyal
1b8978fede
Implement rendering of ASCII char with FreeType
2021-11-01 10:17:26 +05:30
itepechi
2aa01c58a1
Add option background_image_anchor to configure bgimage position
2021-10-30 04:34:32 +09:00
Kovid Goyal
4385acd3c6
A new option to set the tab bar margin color independently
2021-10-25 12:21:46 +05:30
Kovid Goyal
78c63e6a18
Show window titles during visual select
...
Still has to be implemented on macOS
2021-10-15 14:19:56 +05:30
Kovid Goyal
372c4da8f9
When drawing cells make the window object available
2021-10-15 10:25:11 +05:30
Kovid Goyal
a16ffcdde2
Handle mouse clicks when displaying focus window overlay
2021-10-15 09:55:15 +05:30
Kovid Goyal
3efa8b6322
In SGR_PIXEL_MODE report pixel co-ords outside of window when dragging
2021-09-28 15:14:29 +05:30
Kovid Goyal
c2641458e7
A new option to specify the path to a sound file to use as the bell sound
2021-09-24 08:28:37 +05:30
Kovid Goyal
be439cb887
When a tab_bar_background is specified it should extend to the edges of the OS window
...
Fixes #4054
2021-09-23 20:12:30 +05:30
Kovid Goyal
f61b8608de
Fix mouse click event using current mouse co-ords rather than the co-ords at the time of the click
2021-08-18 10:06:08 +05:30
Kovid Goyal
fa327d618d
Cursor movement at shell prompts on click
...
Fixes #3825
2021-08-18 10:06:07 +05:30
Kovid Goyal
bc202aec6e
Dont discard information on whether a click hit a URL
2021-08-18 10:06:07 +05:30
Kovid Goyal
70b5f5bce3
Fix kitty --title not overriding tab titles
...
It must set the OS Window title permanently.
Fixes #3893
2021-08-03 09:34:13 +05:30
Kovid Goyal
3d9b52fbc2
Functions to get and set OS Window size
2021-07-25 12:58:58 +05:30
Kovid Goyal
397638998b
Dont use static memory for the list of chars options
...
Saves a couple of KB of RAM and is more flexible in terms
of max number of allowed chars, although for large numbers one really
needs a hash for fast lookups.
2021-06-17 13:27:11 +05:30
Radu Butoi
5ee0651f56
Add url_excluded_characters option to exclude characters from URLs.
...
This option, like select_by_word_characters, is a set of characters, but
for which to *exclude* from URL parsing. See
https://github.com/kovidgoyal/kitty/issues/3688#issuecomment-862711148 .
2021-06-17 01:55:21 -04:00
Yang Tang
e964ac86d5
Allow specifying adjust_baseline as either pixels or percentage
2021-06-16 01:11:51 -04:00
Yang Tang
bb26b3d549
Add option adjust_baseline to adjust the baseline position on macOS
2021-06-15 14:52:43 -04:00
Kovid Goyal
75e8b16ea3
Dont limit the number of possible cocoa pending actions to the number of bits in an int
2021-06-14 07:34:28 +05:30
Kovid Goyal
ebff343a55
macOS: Add reload config to kitty global menu
2021-06-13 20:34:27 +05:30
Kovid Goyal
ec31a36fd9
Fix reloading of various settings
2021-06-07 08:27:58 +05:30
Kovid Goyal
4cff3e51cb
macOS: Add a global menu entry to reset the terminal
2021-06-05 10:12:44 +05:30
Kovid Goyal
f3977da8f3
Start work on options for tab bar vertical margins
...
Create the option, now need to implement it.
2021-06-05 09:01:57 +05:30
Kovid Goyal
d09c20aa01
Store the global font_size on the opts object where it belongs
2021-06-04 21:51:02 +05:30