Commit Graph

  • 86af1d5c16 Wrap EOF errors when doing terminal I/O Kovid Goyal 2022-11-16 22:23:00 +05:30
  • d8574f8f85 Fix another bug in readline cursor position tracking Kovid Goyal 2022-11-16 21:18:40 +05:30
  • bdd04f37d6 Better error message for kitty shell when running unknown command Kovid Goyal 2022-11-16 20:53:08 +05:30
  • a4e43b3925 Use a pager for the help interactive command as well Kovid Goyal 2022-11-16 20:44:13 +05:30
  • 5e880b92f5 Ensure active hyperlink is cleared when truncating output for completion descriptions Kovid Goyal 2022-11-16 20:32:42 +05:30
  • d4c103e53e zsh breaks when there are escape codes in completion descriptions Kovid Goyal 2022-11-16 19:32:16 +05:30
  • 3e4df7d812 ... Kovid Goyal 2022-11-16 19:06:22 +05:30
  • 3b18f90319 Merge branch 'completion' of https://github.com/page-down/kitty Kovid Goyal 2022-11-16 19:05:58 +05:30
  • e31587ec1e Ensure auto-generated entries such as --help are present for completion by calling Validate() Kovid Goyal 2022-11-16 18:05:27 +05:30
  • 5dc97af4d5 Add completion for kitty +list-fonts pagedown 2022-11-16 20:23:58 +08:00
  • 81916d0f02 Finish implementation of update-self Kovid Goyal 2022-11-16 17:44:21 +05:30
  • ae93d95bbe Get progress bar rendering working Kovid Goyal 2022-11-16 16:35:15 +05:30
  • dd1fcf6855 Support the repeat prev char escape code when calculating the width of a string Kovid Goyal 2022-11-16 16:25:16 +05:30
  • 4b05822474 Merge branch 'ksi-completion-fish' of https://github.com/page-down/kitty Kovid Goyal 2022-11-16 14:00:28 +05:30
  • 337f1fad3f fix double signatures Kovid Goyal 2022-11-16 13:45:27 +05:30
  • 463c9debe7 More work on update-self Kovid Goyal 2022-11-16 13:41:58 +05:30
  • 9225919112 Fix completion for fish pagedown 2022-11-16 16:03:07 +08:00
  • e70c021371 Some basic TUI widgets ported to Go Kovid Goyal 2022-11-16 12:48:13 +05:30
  • f3b3d6c0ef Workaround for mypy bug Kovid Goyal 2022-11-15 22:37:46 +05:30
  • 0c0b9e6b9c Fix deadlock in update-self Kovid Goyal 2022-11-15 22:33:23 +05:30
  • d9215feda5 Allow using the cwd of the original process for launch --cwd Kovid Goyal 2022-11-15 22:18:19 +05:30
  • d54fe3c16a Start work on a command to self update kitty-tool Kovid Goyal 2022-11-15 21:29:11 +05:30
  • 36dd5b2d00 More minor loop API additions Kovid Goyal 2022-11-15 21:00:19 +05:30
  • 87108a18ef Add a callback for wakeups Kovid Goyal 2022-11-15 18:01:21 +05:30
  • 234274c1df ... Kovid Goyal 2022-11-15 16:54:14 +05:30
  • b42677b343 Utility function to download a URL to a file path with progress reporting Kovid Goyal 2022-11-15 16:53:43 +05:30
  • c03af4d294 Build static binaries on CI Kovid Goyal 2022-11-15 15:07:33 +05:30
  • 8d12e60f62 Set a flag available at runtime when cross compiling kitty-tool Kovid Goyal 2022-11-15 15:04:28 +05:30
  • 5a71b8c209 Merge branch 'macos-custom-icon' of https://github.com/page-down/kitty Kovid Goyal 2022-11-15 13:28:03 +05:30
  • 16775c5539 ssh kitten: Add a kitty-tool wrapper script to auto-download and use kitty-tool Kovid Goyal 2022-11-15 13:26:48 +05:30
  • 8b8263d0ff macOS: Failure to set custom app icon should not prevent launch pagedown 2022-11-15 15:21:40 +08:00
  • 9ddd7d070e Add a note to changelog about kitty @ speed improvements Kovid Goyal 2022-11-15 12:05:59 +05:30
  • 780d5400cb Use full kitty-tool exe name in github description Kovid Goyal 2022-11-15 12:01:55 +05:30
  • 63d7b2a80b Shutdown macOS build VM after building Kovid Goyal 2022-11-15 11:32:34 +05:30
  • 1958d67847 Sign kitty-tool on macOS Kovid Goyal 2022-11-15 11:32:12 +05:30
  • 737919505d Update docs to mention kitty-tool Kovid Goyal 2022-11-14 20:58:24 +05:30
  • d60ecfa8a6 Install go 1.18 for codeql build Kovid Goyal 2022-11-14 20:35:41 +05:30
  • e3b22a87e4 Upload static kitty-tool builds when publishing Kovid Goyal 2022-11-14 17:07:32 +05:30
  • c7d47a59f1 When running kitty-tool without arguments show usage Kovid Goyal 2022-11-14 16:36:05 +05:30
  • 7eae176b88 Code to build static versions of kitty-tool Kovid Goyal 2022-11-14 16:27:19 +05:30
  • 9361c62a1c Linux: Use a separate thread to play the beep sound Kovid Goyal 2022-11-14 13:40:45 +05:30
  • 018811c96c Remove unused code Kovid Goyal 2022-11-14 12:41:25 +05:30
  • 129646c199 Use kitty-tool for all kitty @ incovations Kovid Goyal 2022-11-14 11:40:05 +05:30
  • 1881f4582e ... Kovid Goyal 2022-11-14 11:20:08 +05:30
  • a5d05a2954 ... Kovid Goyal 2022-11-14 10:30:02 +05:30
  • 59b43ee844 prettify :option:--xyz> better Kovid Goyal 2022-11-14 10:21:08 +05:30
  • 29bde6c72c Improve formatting of completion entries with descriptions Kovid Goyal 2022-11-14 08:51:02 +05:30
  • a7ce642a00 Fix rendering in cells Kovid Goyal 2022-11-13 22:53:53 +05:30
  • 723a9c91b5 Get completion basically working Kovid Goyal 2022-11-13 19:50:55 +05:30
  • 9e2c96653f More work on readline completion Kovid Goyal 2022-11-12 11:27:27 +05:30
  • 4974219e0f Add function to shlex for completion Kovid Goyal 2022-11-10 21:38:59 +05:30
  • a4de4b7c6f Report stream start position for tokens Kovid Goyal 2022-11-10 21:06:58 +05:30
  • eae4899df4 Use a string builder instead of appending to a slice Kovid Goyal 2022-11-10 20:41:35 +05:30
  • 87b4800fdf Get rid of comment parsing from shlex Kovid Goyal 2022-11-10 20:38:10 +05:30
  • 64156fd6e6 Have the shlex tokenizer return space tokens as well Kovid Goyal 2022-11-10 20:11:28 +05:30
  • 1485981b11 Have the shlex tokenizer track position in stream and return defined error types Kovid Goyal 2022-11-10 19:36:45 +05:30
  • 8d76cf8d32 Import the google shlex package as we need more sophisticated parsing Kovid Goyal 2022-11-10 17:39:07 +05:30
  • 7c23536bfe Start work on readline completions Kovid Goyal 2022-11-10 15:35:36 +05:30
  • f919efcd42 Move basic multi key shortcut handling into its own package Kovid Goyal 2022-11-08 21:45:01 +05:30
  • 388e47a2df DRYer Kovid Goyal 2022-11-08 19:41:03 +05:30
  • dc787a6529 Allow pretty printing members of the Action enum Kovid Goyal 2022-11-08 19:31:42 +05:30
  • cfb6d93dc0 Move cursor to end of input when traversing history list Kovid Goyal 2022-11-08 18:00:18 +05:30
  • 1523fef000 tests for history searching Kovid Goyal 2022-11-08 16:27:00 +05:30
  • 31dcb13836 cursor_y should be zero when resetting Kovid Goyal 2022-11-08 10:43:57 +05:30
  • 0c82832356 more work on history search Kovid Goyal 2022-11-08 06:21:02 +05:30
  • ffea66357a Start work on incremental history search Kovid Goyal 2022-11-06 20:52:26 +05:30
  • 6b48624b81 Reset keyboard state when resetting text Kovid Goyal 2022-11-06 11:44:20 +05:30
  • 5a425ccaad Implement number args for repeats Kovid Goyal 2022-11-06 11:33:36 +05:30
  • 2f2dbfb45f Cleanup prompt handling Kovid Goyal 2022-11-06 07:20:04 +05:30
  • 13a266aa42 Map ctrl+c to abort the current line Kovid Goyal 2022-11-05 12:32:02 +05:30
  • 67b12159f4 make clean should also clean go caches Kovid Goyal 2022-11-05 12:09:19 +05:30
  • 8ad55f7562 Add some tests for history Kovid Goyal 2022-11-05 08:42:47 +05:30
  • e1ab2383b3 Add basic history operations Kovid Goyal 2022-11-04 20:13:10 +05:30
  • f77d07259a Fix mutable default value in dataclass Kovid Goyal 2022-11-03 15:25:42 +05:30
  • 2e07f90baf ... Kovid Goyal 2022-11-03 14:54:18 +05:30
  • 8574e136cd Store cwd in history Kovid Goyal 2022-11-02 08:06:52 +05:30
  • c8e8cb5ad5 Add some tests for yanking Kovid Goyal 2022-11-01 14:26:54 +05:30
  • f127523ae9 Get rid of the unneccessary swap on first configure Kovid Goyal 2022-10-31 22:33:14 +05:30
  • 22f7145e34 Add yank actions Kovid Goyal 2022-10-30 08:31:49 +05:30
  • 1f115870bb Need to install x11-xcb-dev explicitly in jammy Kovid Goyal 2022-10-29 22:48:02 +05:30
  • 3237db00fc Implement word killing actions Kovid Goyal 2022-10-25 17:52:18 +05:30
  • ea583f60b3 Start work on kill ring Kovid Goyal 2022-10-25 12:18:25 +05:30
  • b7816d26be Implement clear screen c-l binding Kovid Goyal 2022-10-25 09:40:12 +05:30
  • 19bf07abd9 Use the more efficient cell iterator api for single char horizontal cursor movement as well Kovid Goyal 2022-10-23 20:58:32 +05:30
  • a008c627e3 Implement bindings for moving by simple word Kovid Goyal 2022-10-23 14:45:25 +05:30
  • 0068ae8f66 An easy to use iterator to iterate over the cells in a string Kovid Goyal 2022-10-23 14:22:17 +05:30
  • 5436408463 Fix the escape code parser not preserving complete utf-8 state between calls to ParseBytes() Kovid Goyal 2022-10-23 13:00:19 +05:30
  • d260d2f480 Add some test for vertical movement Kovid Goyal 2022-10-17 12:50:02 +05:30
  • 00ef9c1955 Implement vertical cursor movement Kovid Goyal 2022-10-17 08:16:22 +05:30
  • 5509673ff3 More tests Kovid Goyal 2022-10-16 22:05:24 +05:30
  • 3c4a411cad Rewrite the readline redraw code to make the screen lines explicit Kovid Goyal 2022-10-16 20:52:53 +05:30
  • f945ef8ee8 handle ctrl-c better when interrupting go test Kovid Goyal 2022-10-16 15:32:12 +05:30
  • 260249491d Avoid Querying screen size on every resize Kovid Goyal 2022-10-16 12:20:27 +05:30
  • 595a78c956 DRYer Kovid Goyal 2022-10-16 12:11:49 +05:30
  • cbbf8a2d34 Port output of active window and tab ids at shell startup Kovid Goyal 2022-10-16 09:17:08 +05:30
  • 88567f69b2 Start work on history support for readline Kovid Goyal 2022-10-14 21:34:52 +05:30
  • fe91af5e09 Go stdlib doesnt even have a way to lock files Kovid Goyal 2022-10-14 15:06:11 +05:30
  • 5e2255591c Dont send invalid kitty-cmd escape code over tty Kovid Goyal 2022-10-14 12:12:58 +05:30
  • 01969cae1a More useful PARSE ERROR msg for unknown @ commands Kovid Goyal 2022-10-14 12:06:48 +05:30
  • b89dfc6d1d Actually run the remote control commands from the shell Kovid Goyal 2022-10-14 11:54:54 +05:30