Kovid Goyal
01055d36b0
Move roundtrip on exit flag into terminal options to have a consistent API
2026-04-10 15:37:20 +05:30
Kovid Goyal
3fe884a29a
DRYer
2026-04-10 15:32:27 +05:30
Kovid Goyal
5e158f90a7
Fix some responses from terminal sometimes leaking into shell on after kitten exit
...
Always do a roundtrip at kitten exit, except for special purpose
kittens. This slows down exit by one round trip time (capped at 2
seconds), however it ensures that we never get terminal response leak.
Fixes #9839
2026-04-10 15:14:38 +05:30
Kovid Goyal
4a13c53438
Turn off focus tracking while doing tty remote control
...
Fixes #8733
2025-06-16 21:57:19 +05:30
Kovid Goyal
c861259e3b
Rename go module from kitty -> github.com/kovidgoyal/kitty
...
Makes the code more easily re-useable in other projects
2025-05-16 08:43:39 +05:30
Kovid Goyal
2ac26b0e6d
Fix #7752
2024-08-20 17:27:13 +05:30
Kovid Goyal
8a175010e6
typo
2024-05-14 20:32:34 +05:30
Kovid Goyal
8cb53cb5a6
Fix handling of streaming remote command via tty_io that doesnt actually stream anything
2024-05-14 13:13:17 +05:30
Kovid Goyal
814412b8ac
kitten @ send-key: Fix some keys being sent in kitty keyboard protocol encoding when not using socket for remote control
...
The @ kitten no longer changes keyboard mode unless actually needed.
2024-05-02 11:04:41 +05:30
Kovid Goyal
63d974135b
Clean up linter warnings
2024-03-05 08:27:13 +05:30
Kovid Goyal
0e87e0c7de
Work on refactoring send kitten to fix various issues
2023-08-08 06:28:43 +05:30
Kovid Goyal
11f98592f7
We still need full keyboard protocol for @ send-text
2023-01-23 16:33:08 +05:30
Kovid Goyal
97467acb1f
kitten @ cmd: Dont generate key release events
...
We dont need them and they sometimes can spill over into the prompt if
the command is very fast.
2023-01-23 16:18:46 +05:30
Kovid Goyal
5e2255591c
Dont send invalid kitty-cmd escape code over tty
2022-11-14 15:42:05 +05:30
Kovid Goyal
a7f6105393
Use Unsafe rather than Dangerous to be consistent
2022-11-14 15:41:55 +05:30
Kovid Goyal
cb452ba9fc
Implement sen text from stdin for the tty backend
2022-11-14 15:41:55 +05:30
Kovid Goyal
3a198833da
Simplify escape code wrapping
2022-11-14 15:41:55 +05:30
Kovid Goyal
f86ce03d3b
Fix set-colors
2022-11-14 15:41:55 +05:30
Kovid Goyal
364533b1ed
Work on supporting streaming remote commands with passwords
2022-11-14 15:41:54 +05:30
Kovid Goyal
b5e2871aa0
Remove not needed chunking code
2022-11-14 15:41:54 +05:30
Kovid Goyal
79c8862d4c
Work on conversion of args parsing to go code
2022-11-14 15:41:53 +05:30
Kovid Goyal
0cda5d43a6
Fix final write detection
2022-11-14 15:41:52 +05:30
Kovid Goyal
1b90c03304
Refactor loop code into its own package
2022-11-14 15:41:52 +05:30
Kovid Goyal
4a49c3940a
Switch to using goroutines rather than a select()
...
More complex code since now we have to synchronize between threads,
but a good way to teach myself more about goroutines.
2022-11-14 15:41:52 +05:30
Kovid Goyal
c86f8a698c
@ ls works phew
2022-11-14 15:41:51 +05:30
Kovid Goyal
174bc25afb
Make timeout checking more efficient
2022-11-14 15:41:51 +05:30
Kovid Goyal
2ffba1c422
Work on implementing ttyio via TUI
2022-11-14 15:41:51 +05:30
Kovid Goyal
32e59257d2
Refactor io in preparation for using tui
2022-11-14 15:41:51 +05:30