Commit Graph

  • b2d0c35fc2 Clear the pre-edit text only when inserting non-control characters pagedown 2022-01-23 22:22:24 +08:00
  • 3ee12082f2 No need to update the pre-edit text pagedown 2022-01-23 22:16:26 +08:00
  • 1ce4fc9c8c Check for ASCII control chars before sending text pagedown 2022-01-23 21:40:27 +08:00
  • 57e2866b68 macOS: Fix caps_lock not clearing pre-edit text when using IME pagedown 2022-01-23 18:50:55 +08:00
  • 195fc1a270 Minor tweaks to macOS key event debug log pagedown 2022-01-23 18:45:18 +08:00
  • 39e56f1864 Dont check the return value of handleEvent Kovid Goyal 2022-01-23 12:47:29 +05:30
  • da96dfcad2 Forgot to use override Kovid Goyal 2022-01-23 11:33:58 +05:30
  • 053bb999d3 Merge branch 'fix-macos-ime-modifiers' of https://github.com/page-down/kitty Kovid Goyal 2022-01-23 10:41:45 +05:30
  • e914f0df8e Make FAIL_WARN a boolean Kovid Goyal 2022-01-23 10:12:11 +05:30
  • 78cd83845f Fix sphinx failing to highlight fish Kovid Goyal 2022-01-23 09:43:15 +05:30
  • f6228cc81e Merge branch 'fix-macos-ime' of https://github.com/page-down/kitty Kovid Goyal 2022-01-23 08:17:16 +05:30
  • 83884f42f8 macOS: Fix text insertion by modifier keys when using IME pagedown 2022-01-23 01:50:37 +08:00
  • fbaf3e2f49 Update preedit text with markedText pagedown 2022-01-23 00:01:08 +08:00
  • c0be0f74d8 Use commit text instead of a zero key event Kovid Goyal 2022-01-22 21:11:26 +05:30
  • a9e014226e Merge branch 'docs' of https://github.com/page-down/kitty Kovid Goyal 2022-01-22 20:58:30 +05:30
  • b498d86436 Docs: Add modifier key names and aliases pagedown 2022-01-22 23:08:44 +08:00
  • ff836a85aa Special case the IME injecting text in on_key_input Kovid Goyal 2022-01-22 20:00:03 +05:30
  • 688a3eaef7 Check if input context handles flagschanged event Kovid Goyal 2022-01-22 16:17:01 +05:30
  • 3b15b46d08 Also deal with setMarkedText called from event loop with actual marked text Kovid Goyal 2022-01-22 16:13:44 +05:30
  • f21ddae94f Handle setMarkedText called from the event loop Kovid Goyal 2022-01-22 16:08:50 +05:30
  • cd9b752926 ... Kovid Goyal 2022-01-22 16:02:05 +05:30
  • 655a5a2808 Handle insertText called from the event loop by the text input system Kovid Goyal 2022-01-22 15:51:43 +05:30
  • 5f4e519d61 ... Kovid Goyal 2022-01-22 15:13:53 +05:30
  • 720bf7efd6 Fix mouse position reported incorrectly on click event in a newly created window if the mouse has never moved in that window Kovid Goyal 2022-01-22 15:10:14 +05:30
  • 3867620be5 ... Kovid Goyal 2022-01-22 14:58:10 +05:30
  • 03a7361325 Some debug prints for flagsChanged Kovid Goyal 2022-01-22 14:57:13 +05:30
  • e8c683db8b A new approach to handling flagsChanged with IME Kovid Goyal 2022-01-22 14:47:57 +05:30
  • 0a3acd9738 ask kitten: Use buttons for choices as well Kovid Goyal 2022-01-22 13:57:25 +05:30
  • 08f159c2ba TypeCheck underline style names Kovid Goyal 2022-01-22 12:41:26 +05:30
  • d4e7587686 use underline instead of color for default choice Kovid Goyal 2022-01-22 12:35:43 +05:30
  • d219654387 Use a dedicated choose() method matching confirm() Kovid Goyal 2022-01-22 12:27:20 +05:30
  • 32e31a3c6b Cancelling the choice kitten should return the empty response Kovid Goyal 2022-01-22 12:13:32 +05:30
  • 9419125387 Highlight the default choice in yellow Kovid Goyal 2022-01-22 11:45:01 +05:30
  • 1bbab217d0 ask kitten: Always have a default choice Kovid Goyal 2022-01-22 11:39:54 +05:30
  • 05d648d411 ask kitten: Draw yes/no buttons Kovid Goyal 2022-01-22 11:32:26 +05:30
  • 5c832d3190 Allow multiple clickable ranges Kovid Goyal 2022-01-22 10:52:44 +05:30
  • ce7282a53c DRYer Kovid Goyal 2022-01-22 10:47:52 +05:30
  • 0d33380e6a Cleanup previous PR Kovid Goyal 2022-01-22 10:13:20 +05:30
  • 9944b895a6 Merge branch 'kitten-ask' of https://github.com/page-down/kitty Kovid Goyal 2022-01-22 10:06:52 +05:30
  • fe7045dd2f Ask kitten: Fix rendering of multiline messages Kovid Goyal 2022-01-22 09:40:05 +05:30
  • d17757cc84 Merge branch 'feat-underline' of https://github.com/page-down/kitty Kovid Goyal 2022-01-22 09:28:13 +05:30
  • 7ef73babdd Use fixed values for unchanging dict to replace split and for loops pagedown 2022-01-22 11:36:04 +08:00
  • a47aca6fdb Add new dotted and dashed underline enum pagedown 2022-01-22 11:00:49 +08:00
  • bf9d47fddd ... pagedown 2022-01-22 09:51:28 +08:00
  • 4fe10fadb0 ... pagedown 2022-01-22 09:45:32 +08:00
  • d29faa0986 Allow tab title to be set to empty to use window title pagedown 2022-01-22 03:28:42 +08:00
  • 88ee5e95fc Add default choices for features that use ask kitten pagedown 2022-01-22 03:21:59 +08:00
  • 9a119255fe ask kitten: Use the default value as input text pagedown 2022-01-22 03:11:39 +08:00
  • 7ce11050cd ask kitten: Esc to abort and Enter to confirm the default choice pagedown 2022-01-22 02:50:50 +08:00
  • 9b4d1219b8 Add default choice option for ask kitten pagedown 2022-01-22 02:46:37 +08:00
  • 4dd29c726a Make the clickable range of No the same as Yes pagedown 2022-01-22 02:41:52 +08:00
  • 17e31565e2 Get it working even with 2 row windows assuming they are wide enough to fit the title on a single line Kovid Goyal 2022-01-21 21:46:27 +05:30
  • dd72deb546 Allow ask kitten to function in a 3 line window Kovid Goyal 2022-01-21 21:43:25 +05:30
  • 7e82179c79 ... Kovid Goyal 2022-01-21 21:20:49 +05:30
  • d61e655953 Changelog entry for new underline styles Kovid Goyal 2022-01-21 21:16:23 +05:30
  • cd0ca95877 Improve the UI of the ask kitten Kovid Goyal 2022-01-21 17:54:35 +05:30
  • d70610f5d9 more uses of extlinks Kovid Goyal 2022-01-21 08:45:03 +05:30
  • f9cfb6f989 use sphinx extlinks instead of custon roles Kovid Goyal 2022-01-21 08:19:50 +05:30
  • 1f4372b34c Test if text is being inserted rather than if text is present Kovid Goyal 2022-01-20 10:46:50 +05:30
  • 76e7e7d61f ... Kovid Goyal 2022-01-20 08:45:03 +05:30
  • c09dc73476 ... Kovid Goyal 2022-01-20 08:33:44 +05:30
  • b090602fdb macOS: Fix the shift key not clearing pre-edit text in IME Kovid Goyal 2022-01-20 08:00:17 +05:30
  • 16d3e82515 Add debug output when ignoring key press during IME Kovid Goyal 2022-01-19 14:50:12 +05:30
  • 9caa6bb306 Nicer event printing Kovid Goyal 2022-01-19 14:32:03 +05:30
  • acf227803f Move event formatting into the types Kovid Goyal 2022-01-19 14:30:08 +05:30
  • f255c15fa9 DRYer Kovid Goyal 2022-01-19 14:04:14 +05:30
  • 7ce74ac688 Also change string based on event type Kovid Goyal 2022-01-19 13:58:45 +05:30
  • 6090673bb5 DRYer Kovid Goyal 2022-01-19 13:56:02 +05:30
  • d1b5420b08 Display space as a word when printing keys Kovid Goyal 2022-01-19 13:33:32 +05:30
  • e0f2b96fd2 Merge branch 'debug-config' of https://github.com/page-down/kitty Kovid Goyal 2022-01-19 13:16:26 +05:30
  • 47fdce6483 remove executable perms from boss.py Kovid Goyal 2022-01-19 13:12:52 +05:30
  • bac84f31b3 Refactor the print functions to make it easier to use in kitten pagedown 2022-01-19 15:26:02 +08:00
  • 21bc5bf8c0 Dont leak a reference to input_source_at_last_key_event Kovid Goyal 2022-01-19 12:06:54 +05:30
  • 0ae928f409 Increase max cache size for distribute_dots Kovid Goyal 2022-01-19 12:00:17 +05:30
  • 7bf7cc284d Add the missing mouse triggers click (-2) and double-click (-3) pagedown 2022-01-19 14:12:39 +08:00
  • ff1efebf70 Fix mouse maps are indented with one more space pagedown 2022-01-19 14:07:45 +08:00
  • 9334ed773e Adjust the order of modifier key names to match the config and docs pagedown 2022-01-19 14:05:51 +08:00
  • 5d8a0c4b09 Merge branch 'ksi-fish' of https://github.com/page-down/kitty Kovid Goyal 2022-01-19 08:38:15 +05:30
  • c5e8a36f9b Shell integration: Improvements for fish integration pagedown 2022-01-19 00:26:54 +08:00
  • 39f9efc816 Add changelog entry for last PR Kovid Goyal 2022-01-18 21:10:02 +05:30
  • 17a3be8cb1 Merge branch 'dotted-dashed-underline' of https://github.com/jcla1/kitty Kovid Goyal 2022-01-18 21:03:30 +05:30
  • ee2c9775a7 Use distribute_dots() to even out spacing in underline Joseph Adams 2022-01-18 15:46:31 +01:00
  • da486153de Add (possibly erroneous) test for new underline. Joseph Adams 2022-01-18 12:52:59 +01:00
  • dd192ad0b7 Make old tests run Joseph Adams 2022-01-18 12:28:24 +01:00
  • 3c6c36487f Update underline documentation Joseph Adams 2022-01-18 12:13:51 +01:00
  • 85eedb96ac Merge branch 'docs' of https://github.com/page-down/kitty Kovid Goyal 2022-01-18 16:37:11 +05:30
  • 3a8d867c87 Docs: Add macOS shortcuts and nth_os_window pagedown 2022-01-18 18:59:26 +08:00
  • 6a2522452f Allow including config files matching glob patterns in conf files Kovid Goyal 2022-01-18 16:28:19 +05:30
  • f9a4b6bb0d Use an enum for state as well Kovid Goyal 2022-01-18 13:58:55 +05:30
  • f1fbfe297d Use an enum for background work Kovid Goyal 2022-01-18 13:50:05 +05:30
  • 2c0ac895e6 diff kitten: Fix exiting while highlighting is incomplete causes kitten to hang until highlighting is done Kovid Goyal 2022-01-18 13:43:39 +05:30
  • e86c7d668c Add rendering functions for dotted and dashed underline. Joseph Adams 2022-01-17 13:25:08 +01:00
  • 4778e0eb23 Move the section about integration to a better location Kovid Goyal 2022-01-17 10:41:35 +05:30
  • c3ded5eb72 ... Kovid Goyal 2022-01-17 10:39:13 +05:30
  • 323355d4bb Add a press mentions section to the kitty website Kovid Goyal 2022-01-17 10:26:49 +05:30
  • 92075a44d8 Add a note about using icat from other programs Kovid Goyal 2022-01-17 08:35:48 +05:30
  • 386bb837d8 Merge branch 'fix-macos-kbd-shortcuts' of https://github.com/page-down/kitty Kovid Goyal 2022-01-17 08:23:34 +05:30
  • ea28029581 ... Kovid Goyal 2022-01-17 08:05:00 +05:30
  • 507e570887 No longer need the patch for Sphinx KeyboardTransform pagedown 2022-01-17 02:49:25 +08:00
  • 5182f79152 macOS: Fix global shortcuts with shift modifier key not working pagedown 2022-01-17 02:23:00 +08:00