Commit Graph
8145 Commits
Author SHA1 Message Date
Kovid Goyal 41ddc7d33f DRYer 2021-11-12 18:26:18 +05:30
Kovid Goyal eff5840645 overlay line should move even when using REP 2021-11-12 18:03:37 +05:30
Kovid Goyal ddf0242f56 Add a changelog entry for IME changes 2021-11-12 17:58:05 +05:30
Kovid Goyal eae5c65d3e Also move overlay when getting backspace from child
zsh for some reason sends this when you send it a word. Fixes #4219
2021-11-12 17:56:04 +05:30
Kovid Goyal c85b545f8d Add a debug print when receiving text from child while overlay is active 2021-11-12 17:43:01 +05:30
Kovid Goyal f24dc80c49 Send IME events in the correct sequence when cocoa both inserts text and marks new text in response to the same key event 2021-11-12 17:27:37 +05:30
Kovid Goyal 9a9de0038c Remove unused code 2021-11-12 15:10:33 +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 c8f26dd968 When text is received from the terminal program and the overlay line is active move the overlay line after drawing the text
This ensures the overlay line follows the current cursor position
2021-11-12 15:03:24 +05:30
Kovid Goyal 7e5cb50925 macOS: Also update IME position when new window is focused 2021-11-12 09:22:36 +05:30
Kovid Goyal ffa755c723 macOS: Ensure IME position is correct on startup 2021-11-12 09:18:34 +05:30
Kovid Goyal a060bf7223 Also unmark text on pressing esc
As with backspace, without this the preedit text is not cleared when the
IME is canceled by esc
2021-11-12 08:52:32 +05:30
Kovid Goyal 4ab5d97e9b macOS: Fix IME position incorrect after moving OS window 2021-11-12 08:51:03 +05:30
Kovid Goyal 81babd29e7 DRYer 2021-11-11 22:53:24 +05:30
Kovid Goyal fac76ddedd DRYer 2021-11-11 22:41:59 +05:30
Kovid Goyal f34cc1861a Clear marked text when text is inserted
This is apparently what Cocoa expects. Fixes committing pre-edit text no
longer working.
2021-11-11 22:35:02 +05:30
Kovid Goyal bd4ed38a3c Dump more informatin about what cocoa does when processing key events 2021-11-11 22:32:30 +05:30
Kovid Goyal 8644fed534 Only unmark on backspace key 2021-11-11 22:05:39 +05:30
Kovid Goyal ca9fdadf3c Dont clear marked text on every keyDown event
Let the input system do it for us. That wy we can hopefully use calls to
unmarkText as a signal to commit the pre-edit text.

Hopefully not clearing the marked text on key down doesnt break anything
else.
2021-11-11 21:14:53 +05:30
Kovid Goyal 228364e317 oops 2021-11-11 20:53:14 +05:30
Kovid Goyal e65aee4533 Cleanup calls to unmarkText 2021-11-11 20:44:43 +05:30
Kovid Goyal a1ca607f35 More work on file transmission 2021-11-11 20:05:54 +05:30
Kovid Goyal efbf156f82 Add a note about mintty support of unscroll 2021-11-11 16:53:59 +05:30
Kovid Goyal a2533e9a46 Render the progress bar for file receives 2021-11-11 16:32:06 +05:30
Kovid Goyal 09742af92b Forgot to remove some debug prints 2021-11-11 14:42:11 +05:30
Kovid Goyal 880de53d59 When remembering OS window sizes for full screen windows use the size before the window became fullscreen
Fixes #4221
2021-11-11 14:34:02 +05:30
Kovid Goyal 91a24dd2eb oops 2021-11-11 13:56:18 +05:30
Kovid Goyal 60e91b018a Wrap the glfw is fullscreen API 2021-11-11 12:46:13 +05:30
Kovid Goyal 9be37f7d2d cocoa is weird 2021-11-11 12:45:03 +05:30
Kovid Goyal be79fc1c92 Save before fullscreen sizes even when using normal fullscreen on macOS 2021-11-11 12:40:56 +05:30
Kovid Goyal 502960bfeb Forgot to update the GLFW wrappers 2021-11-11 12:34:57 +05:30
Kovid Goyal d95a00df73 GLFW API to check if window is fullscreen 2021-11-11 12:33:12 +05:30
Kovid Goyal b3a9c1a100 Better error message when KITTY_LISTEN_ON is invalid 2021-11-10 08:27:45 +05:30
Kovid Goyal 4318d2d7d0 Cleanup previous PR
Doesnt need a separate changelog entry as its covered by the entry for
focus_visible_window
2021-11-09 22:23:48 +05:30
Kovid Goyal c3ff888981 Merge branch 'feat-vis-sel-custom-chars' of https://github.com/page-down/kitty 2021-11-09 22:10:00 +05:30
Kovid Goyal 7c85616dcf Add a note about arguments to layout_action rotate 2021-11-09 21:33:55 +05:30
pagedown 353a48d913 Allows to configure the characters for visual window select 2021-11-09 21:05:31 +08:00
Kovid Goyal 4e736e83a3 Also release excess memory from pagerhist buffer when clearing 2021-11-09 10:21:47 +05:30
Kovid Goyal 57583d6b00 When clearing scrollback release used memory beyond ~2000 lines 2021-11-09 10:14:52 +05:30
Kovid Goyal 98dcb32a0c Dedicated function to free a segment 2021-11-09 10:07:14 +05:30
Kovid Goyal fba5e3a46d Add note for packagers to create kitty shell integration package for servers 2021-11-08 11:56:08 +05:30
Kovid Goyal 2122304515 Only run manual shell integration is KITTY_INSTALLATION_DIR is set
Also add a note about how to get it to work with SSH.
2021-11-08 11:50:21 +05:30
Kovid Goyal 80dbebf0ad Remove unused code 2021-11-08 11:43:14 +05:30
Kovid Goyal 0c160eab7b Avoid needing to exec kitty to get manual shell integration 2021-11-08 11:37:50 +05:30
Kovid Goyal 4841502959 Use a single kitty invocation for manual shell integration 2021-11-08 11:27:10 +05:30
Kovid Goyal 8218df82f2 Add function to get path to integration script for the current shell
Makes setting up manual shell integration much easier. Also clean up
integration docs.
2021-11-08 11:11:16 +05:30
Kovid Goyal fadc1b539b Merge branch 'docs-ksi-fish' of https://github.com/page-down/kitty 2021-11-08 10:24:49 +05:30
pagedown c8162324ed ... 2021-11-08 11:36:40 +08:00
pagedown 2c46378886 Add how the fish shell integration works and how to configure it manually 2021-11-08 11:26:15 +08:00
Kovid Goyal cf7e43fa26 Simplify nested if 2021-11-07 19:23:31 +05:30