Commit graph

1094 commits

Author SHA1 Message Date
Kovid Goyal
ffa79d731c
Allow configuring the ssh kitten via env vars 2022-03-05 12:29:55 +05:30
Kovid Goyal
01dd0416ac
Add an option to control the login shell 2022-03-05 11:16:15 +05:30
Kovid Goyal
0bd1676978
Some cleanup 2022-03-05 10:58:42 +05:30
Kovid Goyal
f3407959a6
Start work on python bootstrap script 2022-03-05 10:54:21 +05:30
Kovid Goyal
e797ba4800
Allow matching on hostname and username 2022-03-04 12:42:31 +05:30
Kovid Goyal
fe27ee2d79
Allow configuring the interpreter to use on the remote host 2022-03-04 12:18:27 +05:30
Kovid Goyal
e0c984046c
EXEC_CMD must come after login_shell detection since it can use login_shell 2022-03-04 10:00:12 +05:30
Kovid Goyal
64d6337612
... 2022-03-04 09:54:17 +05:30
Kovid Goyal
499b30d175
Allow specifying multiple matching hostnames 2022-03-04 07:23:35 +05:30
Kovid Goyal
ef9adc92c8
Note on how to use include for DRYer config 2022-03-04 07:13:56 +05:30
Kovid Goyal
f1ce8c0e8a
Add some docs for the ssh kitten 2022-03-03 22:37:24 +05:30
Kovid Goyal
7d653cb7bf
Allow copying the same file to multiple locations 2022-03-03 21:24:45 +05:30
Kovid Goyal
b4cc38a1d9
Fix symlink extraction over ssh 2022-03-03 21:24:45 +05:30
Kovid Goyal
8867317b6a
Allow transferring files outside of HOME 2022-03-03 21:24:45 +05:30
Kovid Goyal
4b6bfaffba
More work on ssh copy 2022-03-03 21:24:45 +05:30
Kovid Goyal
fadae42715
Work on parsing copy instructions 2022-03-03 21:24:45 +05:30
Kovid Goyal
77c9affc00
Start work on copy instructions 2022-03-03 21:24:45 +05:30
Kovid Goyal
e5ba15949b
$size doesnt need to be global 2022-03-03 21:24:45 +05:30
Kovid Goyal
a3e59697a1
... 2022-03-03 21:24:45 +05:30
Kovid Goyal
95da414511
Avoid one record read 2022-03-03 21:24:45 +05:30
Kovid Goyal
c0d5ace640
Prevent invalid root paths 2022-03-03 21:24:45 +05:30
Kovid Goyal
ae6665493a
Implement setting of env vars 2022-03-03 21:24:44 +05:30
Kovid Goyal
c6f37afeff
Add config to control shell integration per host 2022-03-03 21:24:44 +05:30
Kovid Goyal
59f656e3ca
Allow controlling where on the remote computer the ssh kitten installs its data 2022-03-03 21:24:44 +05:30
Kovid Goyal
12658c4756
Make ssh data start request transmission more robust 2022-03-03 21:24:44 +05:30
Kovid Goyal
37c185462a
Handle error messages form terminal during bootstrap 2022-03-03 21:24:44 +05:30
Kovid Goyal
53c8485a7a
Get env conf working with tests 2022-03-03 21:24:44 +05:30
Kovid Goyal
846021296f
Start work on config infrastructure for ssh kitten 2022-03-03 21:24:44 +05:30
Kovid Goyal
02a68e7541
Pass the value of shell_integration in the tarfile
Allows per host overrides and also avoids needing to read kitty.conf in
the ssh kitten
2022-03-03 21:24:44 +05:30
Kovid Goyal
fda9415873
Use a record separator to delimit the start of data
Needed because the user could press keys and send data to the tty
before kitty can send the ssh data
2022-03-03 21:24:44 +05:30
Kovid Goyal
99d0c2d846
Get reading data working on macOS 2022-03-03 21:24:43 +05:30
Kovid Goyal
a71e7d7eb1
Simplify data transmission 2022-03-03 21:24:43 +05:30
Kovid Goyal
ddb8753548
Work on enabling shell integration over ssh 2022-03-03 21:24:43 +05:30
Kovid Goyal
e73525d0a2
Start work on testing the bootstrap script 2022-03-03 21:24:43 +05:30
Kovid Goyal
f37d947dd5
more work on ssh data transmission 2022-03-03 21:24:42 +05:30
Kovid Goyal
2dd7c3b939
More work on ssh bootstrap 2022-03-03 21:24:42 +05:30
pagedown
16298e49c7
Update Unicode input kitten names 2022-03-03 16:45:07 +08:00
Kovid Goyal
f421666a27
Nicer error message when importing a kitten fails 2022-03-02 08:26:06 +05:30
pagedown
da5213346a
show_error kitten: Use green color for closing tips 2022-02-28 15:02:16 +08:00
pagedown
e3adf8c6bf
show_error kitten: Exit at EOF 2022-02-24 21:13:57 +08:00
Kovid Goyal
cb4a9d89cf
Cleanup linenum matching and add some tests 2022-02-23 23:06:19 +05:30
Kovid Goyal
7800c598f6
hints kitten: Fix a regression that broke recognition of path:linenumber:colnumber
Fixes #4675
2022-02-23 22:38:54 +05:30
Kovid Goyal
6bfb6da0ad
Make the regex for sgr stripping tighter 2022-02-15 22:33:51 +05:30
Kovid Goyal
56a5738018
Remove unused code 2022-02-15 22:22:07 +05:30
Kovid Goyal
919667129f
hints kitten: Avoid double scan of input text 2022-02-15 22:21:31 +05:30
Kovid Goyal
53716c084b
hints kitten: Strip prompt mark escape codes 2022-02-15 22:04:10 +05:30
pagedown
cafc3973ec
mouse_demo: Add mouse scroll wheel buttons 2022-02-13 16:45:48 +08:00
pagedown
436a57a61e
mouse_demo: Fix mouse extra button bit mask 2022-02-13 16:36:51 +08:00
pagedown
d40e6a9ece
hints kitten: Match and strip Unicode single and double quotes 2022-02-11 14:59:35 +08:00
Kovid Goyal
c9da734c0e
Show the output from failed ssh commands 2022-02-08 10:46:34 +05:30
pagedown
7cc3d5907f
Docs: Prefer namespaced launch points 2022-02-08 01:07:23 +08:00
pagedown
80a62c8d71
Add preamble to generated file and fix gen-config.py filename 2022-02-05 13:05:13 +08:00
Kovid Goyal
1e7edd0218
... 2022-02-03 20:14:52 +05:30
Kovid Goyal
2fd8ef389e
Fix use-python not working reliably with SSH kitten 2022-02-03 19:58:10 +05:30
Kovid Goyal
53589c3954
ssh kitten: Fix location of generated terminfo files on NetBSD
Fixes #4622
2022-02-03 19:51:37 +05:30
pagedown
4a3ed62809
Refactor: More f-string for kittens 2022-01-29 20:23:34 +08:00
pagedown
dc61adf9d8
Refactor: More f-string 2022-01-28 19:34:13 +08:00
Kovid Goyal
5cdff7d6d0
themes kitten: Allow writing to a different file than kitty.conf 2022-01-27 20:24:39 +05:30
Kovid Goyal
0a3acd9738
ask kitten: Use buttons for choices as well 2022-01-22 13:57:25 +05:30
Kovid Goyal
08f159c2ba
TypeCheck underline style names 2022-01-22 12:41:26 +05:30
Kovid Goyal
d4e7587686
use underline instead of color for default choice 2022-01-22 12:35:43 +05:30
Kovid Goyal
32e31a3c6b
Cancelling the choice kitten should return the empty response 2022-01-22 12:13:32 +05:30
Kovid Goyal
9419125387
Highlight the default choice in yellow 2022-01-22 11:45:01 +05:30
Kovid Goyal
1bbab217d0
ask kitten: Always have a default choice 2022-01-22 11:39:54 +05:30
Kovid Goyal
05d648d411
ask kitten: Draw yes/no buttons 2022-01-22 11:32:26 +05:30
Kovid Goyal
5c832d3190
Allow multiple clickable ranges 2022-01-22 10:52:44 +05:30
Kovid Goyal
0d33380e6a
Cleanup previous PR
yesno default should be yes.
Pressing q to quit is undiscoverable
Clicking empty cells should not trigger buttons as that is
undiscoverable and possibly surprising
2022-01-22 10:44:01 +05:30
Kovid Goyal
9944b895a6
Merge branch 'kitten-ask' of https://github.com/page-down/kitty 2022-01-22 10:06:52 +05:30
Kovid Goyal
fe7045dd2f
Ask kitten: Fix rendering of multiline messages 2022-01-22 09:40:05 +05:30
pagedown
7ef73babdd
Use fixed values for unchanging dict to replace split and for loops 2022-01-22 11:36:04 +08:00
pagedown
a47aca6fdb
Add new dotted and dashed underline enum
Also use "straight" for single underline, consistent with the protocol
extension document.
2022-01-22 11:00:49 +08:00
pagedown
4fe10fadb0
... 2022-01-22 09:45:32 +08:00
pagedown
88ee5e95fc
Add default choices for features that use ask kitten 2022-01-22 03:21:59 +08:00
pagedown
9a119255fe
ask kitten: Use the default value as input text
Prefill the current value when changing the tab title.
2022-01-22 03:11:39 +08:00
pagedown
7ce11050cd
ask kitten: Esc to abort and Enter to confirm the default choice 2022-01-22 02:50:50 +08:00
pagedown
9b4d1219b8
Add default choice option for ask kitten 2022-01-22 02:46:37 +08:00
pagedown
4dd29c726a
Make the clickable range of No the same as Yes
Since the two options are treated equally, the same amount of mouse
clickable range are given.
2022-01-22 02:41:52 +08:00
Kovid Goyal
17e31565e2
Get it working even with 2 row windows assuming they are wide enough to fit the title on a single line 2022-01-21 21:46:27 +05:30
Kovid Goyal
dd72deb546
Allow ask kitten to function in a 3 line window 2022-01-21 21:43:25 +05:30
Kovid Goyal
cd0ca95877
Improve the UI of the ask kitten
Center the text in the window and allow pressing enter/esc when doing a
yes/no question

Fixes #4545
2022-01-21 20:02:13 +05:30
Kovid Goyal
f9a4b6bb0d
Use an enum for state as well 2022-01-18 13:58:55 +05:30
Kovid Goyal
f1fbfe297d
Use an enum for background work 2022-01-18 13:50:05 +05:30
Kovid Goyal
2c0ac895e6
diff kitten: Fix exiting while highlighting is incomplete causes kitten to hang until highlighting is done 2022-01-18 13:43:39 +05:30
Kovid Goyal
b32edf54f8
hints kitten: Document how to choose the empty hint for multi key hints 2022-01-15 15:17:30 +05:30
Kovid Goyal
58da5d4d29
Placate mypy 2022-01-14 22:26:05 +05:30
Kovid Goyal
4ce6d718c9
icat kitten: Add options to mirror images and remove their transparency before displaying them
Fixes #4513
2022-01-14 22:02:35 +05:30
Kovid Goyal
8bb2da3c37
Use with instead of closing manually 2022-01-14 21:12:08 +05:30
Kovid Goyal
b2bfc4408e
Fix common single letter extension files not being detected
Fixes #4491
Fixes #4492
2022-01-10 14:20:18 +05:30
Kovid Goyal
5b8aca3a2f
Use an f-string 2022-01-10 08:35:43 +05:30
Kovid Goyal
9b9eae7923
icat: Fix --hold not working with critical errors 2022-01-08 10:22:22 +05:30
Kovid Goyal
d875615c03
Fix a regression in the handling of some combining characters such as zero width joiners
Fixes #4439
2022-01-05 08:50:55 +05:30
Kovid Goyal
9aefcfe56f
Make --hold a bit more robust 2022-01-05 08:14:22 +05:30
Kovid Goyal
dae8ae33f0
hints kitten: Fix matching of filenames enclosed in quotes or brackets not stripping the surrounding quotes properly. Fixes #4419 2022-01-04 10:58:31 +05:30
pagedown
afa0bb4c1d
Avoid using the same variable name in different scopes
Variable names such as a and b are also used in the MIN and MAX macros.
2022-01-03 16:11:20 +08:00
Kovid Goyal
e228f5105e
Merge branch 'refactor' of https://github.com/page-down/kitty 2022-01-02 09:23:25 +05:30
Kovid Goyal
be771456e1
Dont shadow global variable name 2022-01-02 08:59:34 +05:30
Kovid Goyal
8514782ad2
Remove unused code
icat already scales images to fit the screen in process_image() so dont
have to consider the case of the image being wider than the screen in
set_cursor()
2022-01-02 08:56:17 +05:30
pagedown
15615a4cd1
Avoid defining variables with the same name that already exist
Avoid using existing parameter names for local variables.
Avoid using variable names from upper level for nested loops.
Avoid local variables hiding existing global variables.
2022-01-01 21:29:32 +08:00
pagedown
7246fb347c
Remove the unused function 2022-01-01 21:29:06 +08:00
Kovid Goyal
f71e0a6ee8
... 2021-12-21 10:39:06 +05:30
Kovid Goyal
90f2ba474c
Fix icat for GIF images broken 2021-12-20 17:54:55 +05:30
Kovid Goyal
8f0825bc5c
Various fixes for mypy 0.920 2021-12-17 05:56:19 +05:30
Kovid Goyal
2c6d888b3d
... 2021-12-10 07:36:09 +05:30
pagedown
98e44a8907
Unify resolution of absolute paths or config dir paths 2021-12-09 20:43:07 +08:00
pagedown
02a7316342
Use the unified PATH search function 2021-12-09 11:32:30 +08:00
Kovid Goyal
32768e7939
Unify the PATH searching algorithm for launch and running children 2021-12-08 20:10:34 +05:30
pagedown
4a7ae0f524
Docs: use pygments styles official website url 2021-12-08 17:20:13 +08:00
Kovid Goyal
c0b73986cb
Fix #4302 2021-11-30 20:47:16 +05:30
Kovid Goyal
4448444d4b
Fix #4289 2021-11-28 11:47:25 +05:30
Kovid Goyal
e5de16bb01
Use fid_abs prefix for absolute symlinks 2021-11-24 08:41:16 +05:30
Kovid Goyal
56ea741126
Nicer repr for key definitions 2021-11-23 18:19:34 +05:30
Kovid Goyal
b7a28afe7e
missed a couple of options 2021-11-21 22:41:30 +05:30
Kovid Goyal
f3376601f2
Mark various options in text correctly 2021-11-21 22:37:11 +05:30
Kovid Goyal
ecea1ba241
... 2021-11-21 10:05:47 +05:30
Kovid Goyal
ddb1fcf430
Forgot to end receive sessions 2021-11-18 22:31:05 +05:30
Kovid Goyal
ca214ffe78
transfer receive: ensure open files are closed 2021-11-17 15:45:13 +05:30
Kovid Goyal
715925795f
Ignore errors in various finalizers during exit
This was needed for tui loop to exit cleanly when terminal i/o breaks
2021-11-17 15:43:26 +05:30
Kovid Goyal
17a48f6b9f
TUI: exit cleanly when I/O to terminal fails 2021-11-17 15:33:23 +05:30
Kovid Goyal
5c7a1d1b05
Fix typo 2021-11-17 15:19:17 +05:30
Kovid Goyal
46e51811e8
Dont rise an exception in patchfile close()
This allows partial transfers, by overwriting the dest file with the
tempfile even if the transfer was not completed
2021-11-17 14:34:14 +05:30
Kovid Goyal
1a92f99831
... 2021-11-17 13:55:33 +05:30
Kovid Goyal
14142c320a
fix incorrect repeat counts 2021-11-17 13:24:35 +05:30
Kovid Goyal
727260e69b
... 2021-11-17 13:16:50 +05:30
Kovid Goyal
ad804cc01e
Redraw progress bar on resize 2021-11-17 13:04:07 +05:30
Kovid Goyal
dab51d33f5
... 2021-11-17 12:40:06 +05:30
Kovid Goyal
77d7a6180f
unicode input kitten: Also allow using ctrl+number to switch tabs and pressing any modifier with the function keys 2021-11-17 12:17:46 +05:30
Kovid Goyal
185669ec72
Use a shorter random id for transfers
Reduces overhead and we dont actually need protection against malicious
actors, only accidental collisions
2021-11-17 11:47:46 +05:30
Kovid Goyal
18ed56b639
Handle all failed using rsync while waiting for path confirmation 2021-11-17 11:28:19 +05:30
Kovid Goyal
dc2bac0068
Only print rsync stats if some data was transferred 2021-11-17 11:18:31 +05:30
Kovid Goyal
005ab58b15
Fix single file transfer path name mapping for receive 2021-11-17 11:07:50 +05:30
Kovid Goyal
b11b04ef67
Start documenting the file transfer kitten 2021-11-17 10:33:37 +05:30
Kovid Goyal
d936ede790
Finish up rsync for file receives 2021-11-16 15:10:37 +05:30
Kovid Goyal
1603b4b522
More work on rsync based receive 2021-11-16 14:21:42 +05:30
Kovid Goyal
0eac514e52
More rsync integration work 2021-11-16 13:06:16 +05:30
Kovid Goyal
63399fe975
Start work on rsync integration for receiving files 2021-11-16 10:58:32 +05:30
Kovid Goyal
0830e66e76
broadcast kitten: Show a "fake" cursor in all windows being broadcast too
Fixes #4225
2021-11-12 22:59:20 +05:30
Kovid Goyal
a1ca607f35
More work on file transmission 2021-11-11 20:05:54 +05:30
Kovid Goyal
a2533e9a46
Render the progress bar for file receives 2021-11-11 16:32:06 +05:30
Kovid Goyal
0f23edeec3
Fix breakage caused by Color no longer being iterable 2021-11-07 07:15:55 +05:30
Kovid Goyal
69e54cb9c1
More work on file transfer 2021-11-06 20:11:11 +05:30
Kovid Goyal
60b8023928
Ensure transfer is canceled on error 2021-11-06 12:59:13 +05:30
Kovid Goyal
8099ae44d7
create fid_map after collecting files not before 2021-11-06 12:54:20 +05:30
Kovid Goyal
8e8a0d2df6
Fix rel path logic when transferring symlinks 2021-11-05 21:39:07 +05:30
Kovid Goyal
d9f4fadf2d
More work on file transfer 2021-11-05 21:33:47 +05:30
Kovid Goyal
c4b3723372
More work on file transfer 2021-11-05 13:10:04 +05:30
pagedown
b4a6ed8d8f
Allows the visual bell color to be configured 2021-11-02 19:38:36 +08:00
Kovid Goyal
39dcfb4e5d
Auto generate the list of all color config keys 2021-11-02 15:16:55 +05:30
Kovid Goyal
218582ced8
More work on file transfer 2021-10-31 20:05:48 +05:30
Kovid Goyal
4ff3d6a645
More work on file transfer 2021-10-31 13:12:23 +05:30
Kovid Goyal
32805ca968
More work on file transfer 2021-10-31 09:28:20 +05:30
Kovid Goyal
d03f4dbc98
More work on file transfer 2021-10-30 16:54:27 +05:30
Kovid Goyal
ee852cf5fc
More work on file transmission 2021-10-29 21:52:49 +05:30
Kovid Goyal
820a893d75
More work on file transfer 2021-10-29 15:01:31 +05:30
Kovid Goyal
2443dc135c
Use a faster implementation of the Color type
Now implemented in C
2021-10-28 11:15:13 +05:30
Kovid Goyal
60472fcee3
Add more type annotations 2021-10-27 14:00:29 +05:30
Kovid Goyal
d090db380f
Add more type annotations 2021-10-27 13:26:18 +05:30
Kovid Goyal
a26f041964
Add more type annotations 2021-10-27 12:31:10 +05:30
Kovid Goyal
b22bda3cba
Add more type annotations 2021-10-27 11:36:34 +05:30
Kovid Goyal
6f19fd5912
Add more type annotations 2021-10-27 10:50:24 +05:30
Kovid Goyal
4494ddd8ff
mypy: Turn on return value checks
Its a shame GvR is married to "return None"
https://github.com/python/mypy/issues/7511
2021-10-26 22:39:14 +05:30
Kovid Goyal
5cb36a4632
More work on file transfer 2021-10-26 22:05:38 +05:30
Kovid Goyal
4385acd3c6
A new option to set the tab bar margin color independently 2021-10-25 12:21:46 +05:30
Kovid Goyal
6546c1da9b
run pyupgrade to upgrade the codebase to python3.6 2021-10-21 12:43:55 +05:30
Kovid Goyal
7f2ce045ab
Handle deprecation of importlib.resources APIs 2021-10-19 09:14:58 +05:30
Kovid Goyal
5f91084968
More work on file transfer 2021-10-18 13:02:37 +05:30
Kovid Goyal
ed5accd702
Add some common readline bindings to the line editor 2021-10-14 14:29:44 +05:30
Kovid Goyal
e13c34c2b8
Use a bar cursor for LineEdit 2021-10-12 09:13:06 +05:30
Kovid Goyal
da3f34603a
DRYer 2021-10-12 07:41:52 +05:30
Kovid Goyal
97a8ff3478
Fix #4113 2021-10-12 07:35:11 +05:30
Kovid Goyal
5e033773dd
More work on transfer sending 2021-10-10 13:04:47 +05:30
Kovid Goyal
855681200f
... 2021-10-08 15:51:45 +05:30
Kovid Goyal
fbf47f75d5
Fix soft hyphens not being preserved when round tripping text through the terminal
Also roundtrip all characters in the Cf category.

Characters with the DI (Default Ignorable) property are now
preserved but not rendered and treated as zero-width
as per the unicode standard.
See https://www.unicode.org/faq/unsup_char.html
2021-10-07 12:44:22 +05:30
Kovid Goyal
34d6c69b2a
fix forgotten import 2021-10-04 21:40:07 +05:30
Kovid Goyal
14d36e3727
Stub for receive in the transfer kitten 2021-10-04 21:31:02 +05:30
Kovid Goyal
31e623afb3
Add support for Unicode 14
Fixes #3542
2021-10-04 14:00:35 +05:30
Kovid Goyal
2080b3d7fa
Print out rsync stats 2021-10-03 13:40:53 +05:30
Kovid Goyal
a8e06a67c2
Better message when transferring rsync signatures 2021-10-03 13:29:50 +05:30
Kovid Goyal
5699c3ae7d
Dont spin report done files 2021-10-03 11:58:24 +05:30
Kovid Goyal
1877a02378
Dont count dirs in transfer stats 2021-10-03 11:30:08 +05:30
Kovid Goyal
e9f344c53f
Improve progress reporting for individual files 2021-10-03 11:26:49 +05:30
Kovid Goyal
d15763f2ad
Dont show transfer stats for non regular files 2021-10-03 11:16:07 +05:30
Kovid Goyal
76eab44f53
Have the receiving side send progress updates
This is both more accurate and works for rsync based transfers, where we
dont know the total size to transmit because of the streaming nature of
the rsync protocol.
2021-10-03 11:04:46 +05:30
Kovid Goyal
3a373a200c
Add a tell() method to PatchFile to track how much has been written 2021-10-03 10:18:28 +05:30
Kovid Goyal
f6e518d2f9
DRYer 2021-10-02 12:06:56 +05:30
Kovid Goyal
c79a0108a1
Remove unneeded code 2021-10-02 11:24:43 +05:30
Kovid Goyal
20fcc5e31b
DRYer 2021-10-02 11:16:47 +05:30
Kovid Goyal
5729e33412
librsync actually blocks on output buffer size as well as input availability. So handle that 2021-10-02 09:26:35 +05:30
Kovid Goyal
f85f39e662
Code to easily develop librsync bindings 2021-10-02 07:22:33 +05:30
Kovid Goyal
0e9be57119
... 2021-10-02 06:25:57 +05:30
Kovid Goyal
ffd7b5779b
Fix end of data not being sent when using rsync 2021-10-02 06:15:06 +05:30
Kovid Goyal
cfeeec95fa
Start work on delta based file transmission 2021-10-01 17:26:27 +05:30
Kovid Goyal
e6cff61f99
Move management of destination file completely into PatchFile 2021-10-01 14:29:14 +05:30
Kovid Goyal
5cafe198bf
icat: Fix EXIF orientation not taken into account when resizing 2021-09-30 08:45:41 +05:30
Kovid Goyal
4ce2690bd2
DRYer 2021-09-30 08:39:27 +05:30
Kovid Goyal
b1375e5ed1
ask kitten: Allow clicking on a choice to select it
Fixes #4071
2021-09-28 20:13:11 +05:30
Kovid Goyal
44bcbc4823
Make it easier to handle simple click events 2021-09-28 20:12:55 +05:30
Kovid Goyal
343eb56cdf
Fix import of MouseEvent 2021-09-28 15:46:35 +05:30
Kovid Goyal
066dfc71aa
A kitten to demo mouse handling 2021-09-28 13:48:56 +05:30
Kovid Goyal
769cd9be3f
DRYer 2021-09-28 13:31:06 +05:30
Kovid Goyal
0f9d6a1e4a
Forgot to clear screen before drawing 2021-09-28 12:56:19 +05:30
Kovid Goyal
3c742a0037
Use pixel mode for mouse tracking in kittens 2021-09-28 12:46:41 +05:30
Kovid Goyal
f3447d187d
Allow handlers to ask for mouse events 2021-09-28 09:32:53 +05:30
Kovid Goyal
276696414e
Use a full handler for choices in the ask kitten 2021-09-28 09:14:34 +05:30
Kovid Goyal
7e17ed21ce
Use the atomic update decorator everywhere 2021-09-27 12:00:33 +05:30
Kovid Goyal
b1f4b2d8ed
Use pending updates for unicode input kitten
Avoids all possibility of flicker
2021-09-27 11:33:21 +05:30
Kovid Goyal
f3177d8878
Merge branch 'unicode-input-scroll-4064' of https://github.com/dusanx/kitty 2021-09-27 11:17:42 +05:30
Kovid Goyal
3bc7b5bad9
Remote file transfer: Fix transfer not working is custom ssh port or identity is specified on the SSH command line
Fixes #4067
2021-09-27 10:58:40 +05:30
Kovid Goyal
b70064d1be
Use a default set of ssh options if the binary is not found 2021-09-27 10:49:38 +05:30
Dusan Popovic
ffca2ecf19 scroll in unicode input 2021-09-26 23:18:33 +01:00
Kovid Goyal
259ca4a11e
Speed up parsing of file transfer OSC codes
Avoid roundtrips between unicode and bytes objects
2021-09-25 14:05:21 +05:30
Kovid Goyal
41003d106a
Set the signature parameters manually when rs_sig_args is not available 2021-09-20 11:42:44 +05:30
Kovid Goyal
17e95cb615
Add a test for rsync roundtrip 2021-09-19 20:55:00 +05:30
Kovid Goyal
b5c086aedb
... 2021-09-19 20:25:08 +05:30
Kovid Goyal
1036132838
Rename pw to bypass 2021-09-19 17:21:57 +05:30
Kovid Goyal
1d1d82ca50
Setup ropr buffer sizes for rsync operations 2021-09-19 17:19:34 +05:30
Kovid Goyal
85be3e4ed1
Also avoid mallocs for the output buffer 2021-09-19 15:28:22 +05:30
Kovid Goyal
d5d52ec8b9
When driving a job on a file avoid mallocs for each read 2021-09-19 13:49:10 +05:30
Kovid Goyal
ecb0d1f325
More work on wrapping librsync 2021-09-19 13:26:09 +05:30
Kovid Goyal
68436c93a7
More work on the transfer kitten 2021-09-19 10:17:53 +05:30
Kovid Goyal
2a9dff2846
Function to create the delta for a file 2021-09-18 14:00:59 +05:30
Kovid Goyal
bcd1837924
Generator for loading signatures
Also dont waste memory when no output is expected
2021-09-18 13:52:26 +05:30
Kovid Goyal
77508bfe0d
Handle blocking with unused input in librsync 2021-09-18 13:08:53 +05:30
Kovid Goyal
cf517effb3
Wrap more of the librsync API 2021-09-18 12:49:38 +05:30
Kovid Goyal
901a075a38
... 2021-09-18 11:51:54 +05:30
Kovid Goyal
348e632dd6
Fix building on the usual ancient Linux distro suspects
Detect if librsync is new enough to have rs_sig_args
2021-09-18 10:49:46 +05:30
Kovid Goyal
067502bd66
Fix warning on ancient gcc 2021-09-18 10:25:18 +05:30
Kovid Goyal
2fc972a173
rename function 2021-09-18 09:39:12 +05:30
Kovid Goyal
a941b1af4e
Implement signature generation 2021-09-17 17:42:25 +05:30
Kovid Goyal
f0fab80f5b
Start work on rsync support for file transfers 2021-09-17 13:41:45 +05:30
Kovid Goyal
a0740d1616
Use multi-phase initialization for unicode-names 2021-09-17 08:56:55 +05:30
Kovid Goyal
8986d15a5b
Remove unused code 2021-09-17 08:39:41 +05:30
Kovid Goyal
fcd4649642
Use pending mode for progress bar updates 2021-09-16 19:54:48 +05:30
Kovid Goyal
e8e7ad3b75
DRYer 2021-09-16 18:34:51 +05:30
Kovid Goyal
e9d648d37c
Handle exceptions in the tui context managers 2021-09-16 18:28:29 +05:30
Kovid Goyal
eaeece8177
Use the repeat escape code for progress bar rendering 2021-09-16 17:55:22 +05:30
Kovid Goyal
aa9a991a85
Draw separator for final total 2021-09-16 17:45:11 +05:30
Kovid Goyal
0d37431def
Report individual file transfer failures 2021-09-16 17:40:19 +05:30
Kovid Goyal
44dfd7a803
More work on transfer kitten 2021-09-16 17:28:26 +05:30
Kovid Goyal
d2809a0acb
More work on transfer kitten 2021-09-16 15:27:53 +05:30
Kovid Goyal
4b074d723e
... 2021-09-16 14:01:48 +05:30
Kovid Goyal
deb6abe50e
Ancient python compat 2021-09-16 13:50:05 +05:30
Kovid Goyal
d042ea5ab9
Split up tranfer kitten code into modules 2021-09-16 13:47:12 +05:30
Kovid Goyal
bc7c1e4d05
More work on the transfer kitten 2021-09-16 13:34:32 +05:30
Kovid Goyal
a4c5e7c2ee
More work on the transfer kitten 2021-09-16 13:02:39 +05:30
Kovid Goyal
504d915723
Fix div by zero errors 2021-09-16 10:30:28 +05:30
Kovid Goyal
039ea95390
Sanitize displayed file names 2021-09-16 10:19:08 +05:30
Kovid Goyal
33a6abfc07
More work on the transfer kitten 2021-09-16 07:39:07 +05:30
Kovid Goyal
5c1dd69963
forgot this in the last commit 2021-09-15 14:03:01 +05:30
Kovid Goyal
c08dc64581
spinner and progress bar for kittens UI 2021-09-15 13:39:39 +05:30
DiegoBaldassar
8c104b52f9
icat: fix exception thrown if stdin is None
Don't use sys.stdin if --stdin=no is given, or if --stdin=detect is given and sys.stdin is None
2021-09-14 22:18:34 +02:00