Kovid Goyal
00d4841304
Make the mouse selection code re-useable
2023-03-28 11:48:22 +05:30
Kovid Goyal
94db6053d5
Turn off atomic update during direct transmission
2023-03-27 20:54:03 +05:30
Kovid Goyal
6dfe823dfb
...
2023-03-27 17:05:57 +05:30
Kovid Goyal
71580a2a93
Fix wheel event detection
2023-03-27 16:35:29 +05:30
Kovid Goyal
fb9d95038d
Free images in kitty when quitting diff kitten
2023-03-27 11:13:04 +05:30
Kovid Goyal
a3f1d3e132
Get image display working
2023-03-27 11:00:21 +05:30
Kovid Goyal
d66da811db
More work on getting images to display in diff
2023-03-27 07:53:57 +05:30
Kovid Goyal
cece795b16
More work on image support for diff
2023-03-27 07:53:57 +05:30
Kovid Goyal
9eedcc1d2a
Better struct name
2023-03-27 07:53:57 +05:30
Kovid Goyal
508a61bd1c
More work on diffing images
2023-03-27 07:53:57 +05:30
Kovid Goyal
de9edb6ff5
Manually specify the closing SGR for a span
2023-03-27 07:53:56 +05:30
Kovid Goyal
6590be84a2
...
2023-03-27 07:53:56 +05:30
Kovid Goyal
88bd3ee9ca
New SGR codes to turn off bold/dim independently
...
Allows for robust patching of formatting into already formatted
text. Without this it is not possible to turn off bold without
affecting existing dim and vice versa.
2023-03-27 07:53:55 +05:30
Kovid Goyal
15b0dbb71c
Code to insert SGR formatting into already formatted strings
2023-03-27 07:53:55 +05:30
Kovid Goyal
ef7f13d893
title lines are now displayed
2023-03-27 07:53:54 +05:30
Kovid Goyal
ee82cb5a52
More work on porting diff kitten
2023-03-27 07:53:54 +05:30
Kovid Goyal
bf773351ed
DRYer
2023-03-17 11:00:00 +05:30
Kovid Goyal
509a45b579
Dont request release events for most kittens
...
They are not needed and there is always a small risk that a release
event could be delivered after the kitten has stopped reading from the
tty, thereby leaking into the environment.
2023-03-17 10:50:10 +05:30
Kovid Goyal
0805330b77
Finish port of themes kitten to Go
2023-03-14 20:24:21 +05:30
Kovid Goyal
21954937fb
More work on porting themes
2023-03-14 12:29:44 +05:30
Kovid Goyal
ffb3b073d7
Convenient loop API to print styled strings
2023-03-14 12:29:44 +05:30
Kovid Goyal
29dd2438c9
Port the subseq matcher to Go
2023-03-14 12:29:44 +05:30
Kovid Goyal
09ceb3c0be
Start work on porting hints kitten to Go
2023-03-09 19:00:56 +05:30
Kovid Goyal
ef6693a239
Dont insert empty spaces when no completions are found
2023-03-07 17:00:40 +05:30
Kovid Goyal
d7b0aa48c9
Dont display empty match groups
2023-03-07 16:53:52 +05:30
Kovid Goyal
ea1842407d
Auto accept completion when only a single candidate is present
2023-03-07 16:48:53 +05:30
Kovid Goyal
0e73c01093
readline: Automatically do word completion based on history
2023-03-07 16:44:02 +05:30
Kovid Goyal
7ad5dc6a6f
Fix mouse CSI parsing
2023-03-07 13:55:44 +05:30
Kovid Goyal
e043fef257
Synthesize click events in the loop
2023-03-07 07:57:14 +05:30
Kovid Goyal
37cebbc817
Implement decoding of mouse events in Go
2023-03-07 07:20:46 +05:30
pagedown
2ee30302fe
hold: Allow pressing the numeric keypad enter key to exit
2023-03-05 16:18:29 +08:00
Kovid Goyal
defac0c061
Implement automatic tmux passthrough for icat
2023-03-04 13:01:23 +05:30
Kovid Goyal
8bd814444c
Fix active TMUX session detection
2023-03-04 12:50:07 +05:30
Kovid Goyal
1218a152bf
Implement unicode placeholders in icat
2023-03-04 11:54:22 +05:30
Kovid Goyal
e6662e11c3
Dont change the tmux allow-passthrough mode if it is already set
2023-03-03 15:06:49 +05:30
Kovid Goyal
4a5c6ad47f
Functions to punch DCS escapes through tmux
2023-02-26 11:11:42 +05:30
Kovid Goyal
ac5298ce76
Finish porting unicode input
2023-02-15 17:42:31 +05:30
Kovid Goyal
7223fdaa38
API to set the text at the prompt
2023-02-15 10:16:25 +05:30
Kovid Goyal
67436a48cd
New API to suspend a loop
2023-02-14 22:27:41 +05:30
Kovid Goyal
53e33a80ba
Start work on porting unicode input kitten to Go
2023-02-14 21:33:21 +05:30
Kovid Goyal
a2e4efbb14
API to save/restore cursor position
2023-02-14 21:33:21 +05:30
Kovid Goyal
0cabc3e109
Indicate when caps lock is on while reading password
2023-02-04 11:06:24 +05:30
Kovid Goyal
5eaa935ede
icat: Dont try to further compress PNG images when using stream based transmission
2023-02-01 11:45:01 +05:30
Kovid Goyal
092dc3d01f
...
2023-02-01 11:28:52 +05:30
Kovid Goyal
5c0d477a18
icat kitten: Fix transmission of frame data in direct mode
...
Sometimes frame data is > 2048 but does not compress smaller, which
broke the if statement checking for first loop.
Fixes #5958
2023-02-01 10:51:59 +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
cc1f0bc3fe
Function to drain controlling tty
2023-01-23 16:07:00 +05:30
Kovid Goyal
26ca3f9bad
Simplify code
2023-01-18 16:16:11 +05:30
Kovid Goyal
bf7d27691c
Also add the EINTR fix from previous commit to writing to loop
2023-01-18 16:09:19 +05:30