summaryrefslogtreecommitdiff
path: root/main.go
AgeCommit message (Collapse)Author
2024-11-23add target clipboard argument, fixes #14theimpostor
2024-11-21use more portable escape sequence to terminate stringtheimpostor
2024-11-20fix panic send on closed channeltheimpostor
2024-11-20Log tty writes in pastetheimpostor
2024-11-20Enhance I/O logging with debugWriter and debugReadertheimpostor
- Enhance logging capabilities for I/O operations by introducing `debugWriter` and `debugReader` types. - Modify the `copy` function to leverage `debugWriter` for verbose output, improving traceability during execution.
2024-11-17remove unused functiontheimpostor
2024-11-17copy: read all data into memory and report all errorstheimpostor
2024-11-17refactor error handlingtheimpostor
2024-11-17wiptheimpostor
2024-11-17Paste: Don't write to stdout while tty is open, also return errors immediatelytheimpostor
instead of waiting for timeout.
2024-11-16Improve debugging and error logging in I/O operationstheimpostor
- Introduce a `debugReader` type to enhance logging of read operations. - Modify initialization logic to allow conditional usage of `debugReader` based on verbosity.
2024-11-15Refactor clipboard handling and improve error managementtheimpostor
- Refactor clipboard handling to use a new `pasteReader` type for improved readability and maintainability. - Streamline the `Read` method to enhance handling of special characters and simplify error management. - Optimize the data reading process by leveraging `io.Copy` for direct output to stdout.
2024-11-14Ignore initial metadata in paste response, and refactor terminal handling ↵theimpostor
for improved readability - Enhance code readability by introducing constants for escape sequences. - Refactor relevant functions to utilize new constants for better maintainability. - Improve error handling and processing logic through clearer comments.
2024-11-11fix windows supporttheimpostor
2024-08-25use smaller chunk size for screentheimpostor
2024-08-25use /dev/tty with screen alwaystheimpostor
2024-08-25Replace slog with standard loggers and remove fmt.Sprintf callstheimpostor
2024-08-23Ensure chunking writer output is bufferedtheimpostor
2024-08-22Break up screen copy operation into chunkstheimpostor
2024-08-20round out tmux support. requires tmux 3.3 or later.theimpostor
2024-08-18add check for zellij, unsupported with pastetheimpostor
2024-08-18check stdin readabletheimpostor
2024-08-18use release version of slog packagetheimpostor
2024-08-15Add support for tmux (#3)javex
2024-07-28debug log fixtheimpostor
2024-07-28fixed hangout when pasting empty string with kittyNemesis
2024-03-03add a timeout parameter, default 5 secondstheimpostor
2023-12-18feat: default ttyzyp
2023-12-18feat: update README.mdzyp
2023-12-18feat: add ssh ttyzyp
2023-09-16Increase tty timeouttheimpostor
2023-08-07check files readable for copytheimpostor
2023-08-03Update readme, arg num validationtheimpostor
2023-08-03add version commandtheimpostor
2023-08-03fix loggingtheimpostor
2023-08-03Rename module to osc, and use subcommands via spf13/cobratheimpostor
2023-07-25add support for screen passthroughtheimpostor
2023-07-24clean up logging, update dependenciestheimpostor
2023-07-18try time out initial read for pastetheimpostor
2023-07-17add term infotheimpostor
2023-07-17Clean up importtheimpostor
2023-07-16refactor, clean up loggingtheimpostor
2023-07-16Fix paste for terminals ending with ESC-backslash instead of BEL, and add ↵theimpostor
debug logging
2023-07-14add decoding, refactortheimpostor
2023-07-13WIP adding paste supporttheimpostor
2022-02-20usage texttheimpostor
2022-02-20update usage and readmetheimpostor
2022-02-20Buffer output and flush only if no errorstheimpostor
2022-02-20initial implementationtheimpostor