Commit Graph

  • 387333492b Generate color names and table for Go Kovid Goyal 2022-08-27 12:57:07 +05:30
  • 9c58cb3f41 ... Kovid Goyal 2022-08-26 21:05:11 +05:30
  • b2e610f9b1 Implement socket I/O Kovid Goyal 2022-08-26 20:09:03 +05:30
  • a960937095 Simplify serialization code and avoid extra copy Kovid Goyal 2022-08-26 17:07:53 +05:30
  • 0cda5d43a6 Fix final write detection Kovid Goyal 2022-08-26 16:19:37 +05:30
  • a75d59643c Use one less channel Kovid Goyal 2022-08-26 15:55:08 +05:30
  • bf35817d73 No need to store most channels on self Kovid Goyal 2022-08-26 15:26:03 +05:30
  • f103f8d5db Create a in src symlink for kitty-tool as well Kovid Goyal 2022-08-26 14:52:33 +05:30
  • b382587776 another attempt Kovid Goyal 2022-08-26 13:32:30 +05:30
  • 6fe0c8ba2f dump tree Kovid Goyal 2022-08-26 13:09:35 +05:30
  • 7b2991de02 ... Kovid Goyal 2022-08-26 12:54:14 +05:30
  • 1b90c03304 Refactor loop code into its own package Kovid Goyal 2022-08-26 12:47:58 +05:30
  • 0aa05b02e8 Cleanup Kovid Goyal 2022-08-26 11:02:24 +05:30
  • 5412a0126c we generate more than just rc commands Kovid Goyal 2022-08-26 10:53:31 +05:30
  • 841b368021 DRYer Kovid Goyal 2022-08-26 10:52:10 +05:30
  • b1f9139ca5 Use a fully random async_id rather than a uuid Kovid Goyal 2022-08-26 10:39:18 +05:30
  • 4a49c3940a Switch to using goroutines rather than a select() Kovid Goyal 2022-08-26 08:37:14 +05:30
  • ee12349a50 Use Go's os.File this allows us to implement WriteString without using unsafe Kovid Goyal 2022-08-26 05:46:43 +05:30
  • 69c847a48f Fix failing test Kovid Goyal 2022-08-25 18:45:08 +05:30
  • 03705cbec0 Fix transmission of async rc commands Kovid Goyal 2022-08-25 18:16:03 +05:30
  • ff2ff9c04f Port short uuid code to Go Kovid Goyal 2022-08-25 18:11:46 +05:30
  • a22ba9f739 Fix failing test Kovid Goyal 2022-08-25 14:22:16 +05:30
  • c86f8a698c @ ls works phew Kovid Goyal 2022-08-25 14:08:27 +05:30
  • fa4711bd04 Give the kill signal time to be delivered Kovid Goyal 2022-08-25 13:47:22 +05:30
  • a939bbb3ec ... Kovid Goyal 2022-08-25 13:18:35 +05:30
  • 174bc25afb Make timeout checking more efficient Kovid Goyal 2022-08-25 13:14:45 +05:30
  • 2ffba1c422 Work on implementing ttyio via TUI Kovid Goyal 2022-08-25 13:07:39 +05:30
  • 0913b64c6b Dont vendor base85 Kovid Goyal 2022-08-25 11:05:59 +05:30
  • 32e59257d2 Refactor io in preparation for using tui Kovid Goyal 2022-08-25 11:00:30 +05:30
  • 6f8c884bb5 Also handle SIGPIPE as the Go runtime does funky things with this signal Kovid Goyal 2022-08-25 10:06:37 +05:30
  • 80c5ac891d Add license info to Go files Kovid Goyal 2022-08-25 08:38:04 +05:30
  • ccb60687b6 Prefix names of cmd files Kovid Goyal 2022-08-25 08:03:23 +05:30
  • 6a2393299b Add a write completed callback Kovid Goyal 2022-08-25 08:01:40 +05:30
  • ab66b3f4c0 Add timer infra to the loop Kovid Goyal 2022-08-25 07:43:20 +05:30
  • c8292d77f1 Re-use the escape code parser for wcswidth calculation Kovid Goyal 2022-08-25 06:34:06 +05:30
  • 7280c712d6 Move escape code parser into wcswidth package Kovid Goyal 2022-08-25 05:55:38 +05:30
  • 9be2247081 Dont use the syscall package Kovid Goyal 2022-08-25 05:46:51 +05:30
  • e68b5fa504 Add callback for screen resize handling Kovid Goyal 2022-08-24 23:06:18 +05:30
  • c2ef6c986b Password input now works Kovid Goyal 2022-08-24 22:39:46 +05:30
  • 619fcb0681 Allow debug printing Kovid Goyal 2022-08-24 22:34:31 +05:30
  • 10a39d3757 Fix reset mode incorrectly setting mode instead Kovid Goyal 2022-08-24 22:32:31 +05:30
  • d2a15a2009 Make using alternate screen the default Kovid Goyal 2022-08-24 22:18:46 +05:30
  • 235eb868b2 More misc fixes for TUI Kovid Goyal 2022-08-24 22:13:21 +05:30
  • 5703a3370e Move wcswidth into its own package as it is very slow to build Kovid Goyal 2022-08-24 22:05:51 +05:30
  • 5dca2a1a25 Fix stringifying mods Kovid Goyal 2022-08-24 21:56:29 +05:30
  • 4b18b575cd Misc fixes for TUI Kovid Goyal 2022-08-24 21:47:05 +05:30
  • 818f68ec53 Initialize various maps Kovid Goyal 2022-08-24 20:47:00 +05:30
  • cd54fefa99 Ignore more types of temporary errors Kovid Goyal 2022-08-24 20:09:12 +05:30
  • 4ab5456ead Less layering Kovid Goyal 2022-08-24 19:55:46 +05:30
  • 10d11bc749 Drop another dependency Kovid Goyal 2022-08-24 19:32:56 +05:30
  • 19ffbc6f3d Implement wcswidth() for Go Kovid Goyal 2022-08-24 19:25:41 +05:30
  • 79b1af28b4 Fix errors reported by compiler Kovid Goyal 2022-08-24 17:59:35 +05:30
  • 05d768d8df Generate a wcwidth for Go as well Kovid Goyal 2022-08-24 16:01:54 +05:30
  • 7bb310d3af Port recent changes from cli.py to Go Kovid Goyal 2022-08-24 15:11:08 +05:30
  • 9d56f8eed2 Use TUI to build a nice password read control Kovid Goyal 2022-08-24 12:23:11 +05:30
  • 42a5129553 Wire up key handling Kovid Goyal 2022-08-24 11:01:04 +05:30
  • d6ed20323b Implement key event parsing and matching Kovid Goyal 2022-08-24 08:30:21 +05:30
  • 63fdbd3fa0 Start work on decoding key events in Go Kovid Goyal 2022-08-23 21:06:08 +05:30
  • 99fde8723a Wire up the signal handlers Kovid Goyal 2022-08-23 20:31:12 +05:30
  • 526a331f47 Wire up a bunch of callbacks Kovid Goyal 2022-08-23 20:08:04 +05:30
  • e18b6638bb Allow propagating errors from the escape code handlers Kovid Goyal 2022-08-23 19:51:31 +05:30
  • 3c3e7b7f70 Start work on proper TUI support Kovid Goyal 2022-08-23 18:53:55 +05:30
  • 67f03621ae Handle EINTR in IsTerminal Kovid Goyal 2022-08-23 11:16:38 +05:30
  • 10cef16210 DRYer Kovid Goyal 2022-08-23 10:35:32 +05:30
  • 6a79b450f7 Drop another dependency and get a better read password function Kovid Goyal 2022-08-23 07:30:01 +05:30
  • eb4ee13f73 Drop another dependency Kovid Goyal 2022-08-22 21:30:00 +05:30
  • cf287015de ... Kovid Goyal 2022-08-22 21:21:56 +05:30
  • 246277e7af Refactor tty code into its own package Kovid Goyal 2022-08-22 21:20:54 +05:30
  • 13758e9600 Drop one dependency Kovid Goyal 2022-08-22 21:14:37 +05:30
  • 73e4deb1c2 Show suggestions based on levenshtein distance Kovid Goyal 2022-08-22 18:56:48 +05:30
  • 68d589826a ... Kovid Goyal 2022-08-22 18:38:51 +05:30
  • 7457746d65 Fix @command form not supporting global options Kovid Goyal 2022-08-22 16:06:05 +05:30
  • eec8f04e93 fix reading from tty Kovid Goyal 2022-08-22 15:18:12 +05:30
  • 3a7d26a3ef Work on reading command responses Kovid Goyal 2022-08-22 15:11:00 +05:30
  • 91b15d1a90 Fix incorrect err handling Kovid Goyal 2022-08-22 15:07:27 +05:30
  • 12b0f632bd Allow OSC to be terminated by BEL Kovid Goyal 2022-08-22 11:21:23 +05:30
  • 84cb2638d6 Work on an escape code parser Kovid Goyal 2022-08-22 10:33:31 +05:30
  • 7eb6cb2407 Update script that counts lines of code Kovid Goyal 2022-08-22 10:14:09 +05:30
  • ce3062cbde UTF-8 decode/encode for Go Kovid Goyal 2022-08-21 14:58:55 +05:30
  • e599a2c87f The stupid term package is not EINTR safe Kovid Goyal 2022-08-21 11:45:58 +05:30
  • 15e1f376a4 EINTR safe function to get tty size Kovid Goyal 2022-08-21 11:37:54 +05:30
  • 82d0bd9364 Use the term package to get tty size since it has a function for it Kovid Goyal 2022-08-21 11:31:09 +05:30
  • 6a9f3feba2 ... Kovid Goyal 2022-08-21 11:25:35 +05:30
  • 2e31178980 Workaround for go unix package not wrapping pselect() on darwin Kovid Goyal 2022-08-21 11:22:36 +05:30
  • 141b9c8f08 Adjust select() timeout on EINTR Kovid Goyal 2022-08-21 10:52:37 +05:30
  • 17629add66 Handle EINTR Kovid Goyal 2022-08-21 10:23:54 +05:30
  • 352a78f056 Add a debug print method to tty and use pselect rather than select for greater timeout precision Kovid Goyal 2022-08-21 09:15:06 +05:30
  • 2ef5d0a140 ... Kovid Goyal 2022-08-20 16:59:30 +05:30
  • 08b4741024 Get rid of a couple of unneeded dependencies Kovid Goyal 2022-08-20 16:54:21 +05:30
  • 11ffa961bc Use local hyperlinks for :doc: Kovid Goyal 2022-08-20 16:32:35 +05:30
  • ad6d928c12 Port various recent changes to CLI help output Kovid Goyal 2022-08-20 15:32:43 +05:30
  • 74b768bfc2 ... Kovid Goyal 2022-08-20 13:43:27 +05:30
  • 9b703078dd See if at least the field names are the same Kovid Goyal 2022-08-18 16:12:03 +05:30
  • 43e93414ea Some work on implementing TTYIO Kovid Goyal 2022-08-18 15:40:19 +05:30
  • 6c3a439455 Use the io.Reader interface Kovid Goyal 2022-08-18 10:36:04 +05:30
  • a7bc2fcba8 Code to parse socket addresses Kovid Goyal 2022-08-18 10:11:17 +05:30
  • 417c8887b9 Start on testing infra for command to JSON serialization Kovid Goyal 2022-08-17 22:37:03 +05:30
  • 47feb73cdf Code to generate structs for JSON marshalling Kovid Goyal 2022-08-17 21:57:02 +05:30
  • 0aa1bacbe7 ... Kovid Goyal 2022-08-17 19:50:01 +05:30
  • 63512f0512 Implement setting of option values into a struct Kovid Goyal 2022-08-17 19:42:43 +05:30