Kovid Goyal
78b553e55e
Add tests for turning off shell integration in the bootstrap script
2022-03-03 21:24:43 +05:30
Kovid Goyal
8ca3a511cc
Get the ssh bootstrap tests fully working
2022-03-03 21:24:43 +05:30
Kovid Goyal
bf26a3f569
Skip bash if its too old when testing bootstrap script
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
4279f20daf
Dont depend on the default bash prompt when testing
2022-03-03 21:24:42 +05:30
Kovid Goyal
2dd7c3b939
More work on ssh bootstrap
2022-03-03 21:24:42 +05:30
Kovid Goyal
d8ed42ae8e
Move setting of ZLE_RPROMPT_INDENT to zshrc which will hopefully prevent it being overriden
2022-03-03 19:16:44 +05:30
Kovid Goyal
297592242c
Fix #4782
...
Presumably the failure is caused by zsh not having finished drawing the
prompt when the cursor shape is changed. So instead wait till the
expected prompt is drawn. There are probably more places where this
change needs to be made, which I cant tell since I cant reproduce.
2022-03-03 17:22:42 +05:30
Kovid Goyal
e103b280fd
Add test for HISTFILE
2022-02-28 20:09:54 +05:30
pagedown
2d4f7e3446
Disable system startup files in zsh integration test with --noglobalrcs
2022-02-27 20:21:05 +08:00
Kovid Goyal
165c1240a9
Make the test a little more robust
2022-02-27 11:04:12 +05:30
Kovid Goyal
f91463a494
Also add test for handling of control chars in zsh title reporting
2022-02-27 10:47:23 +05:30
Kovid Goyal
d53f8f24c4
Fix #4757
...
Still have to do the fix for zsh/fish
2022-02-27 10:20:19 +05:30
pagedown
e2f16ff624
Add fish pipestatus integration tests and changelog entries
2022-02-27 00:27:31 +08:00
Kovid Goyal
b212fd5bcd
Dont actually need a thread for PTY
2022-02-24 10:05:13 +05:30
Kovid Goyal
0a297f4656
proper ordering during shutdown
2022-02-24 00:27:09 +05:30
Kovid Goyal
fa397a1d24
PTY: Write to child in separate thread
2022-02-24 00:26:08 +05:30
Kovid Goyal
0610daaec7
Remove echo dance
2022-02-24 00:08:17 +05:30
Kovid Goyal
8278e2b88d
Dont fail test in no PATH in environ
2022-02-23 23:27:24 +05:30
Kovid Goyal
cb4a9d89cf
Cleanup linenum matching and add some tests
2022-02-23 23:06:19 +05:30
Kovid Goyal
12e011c481
Merge branch 'test-ksi-fish' of https://github.com/page-down/kitty
2022-02-23 18:31:13 +05:30
Kovid Goyal
668783ba1c
Use a version check when skipping bash test
2022-02-23 18:27:20 +05:30
pagedown
c18ebef702
...
2022-02-23 20:49:32 +08:00
Kovid Goyal
03f9f29ce4
DRYer
2022-02-23 18:14:40 +05:30
pagedown
9c05481f14
...
2022-02-23 20:05:30 +08:00
pagedown
c0f6201ac3
Add fish shell integration tests
2022-02-23 19:55:19 +08:00
Kovid Goyal
fc9645832d
Add tests for --noprofile, --rcfile, --norc as well
2022-02-23 10:42:25 +05:30
Kovid Goyal
c47f41cfc0
Add tests for bash startup file sourcing
2022-02-23 08:35:24 +05:30
Kovid Goyal
e28aae620a
Add tests for reset of cursor shape when running commands
2022-02-23 07:48:42 +05:30
Kovid Goyal
88091b4ab3
BASH integration: No longer modify .bashrc to load shell integration
...
I think I have things setup robustly so that the shell integration
is loaded transparently via env vars and the normal bash startup files
are sourced, in the same way that vanilla bash does it. Let's hope I
haven't overlooked something.
2022-02-22 21:24:51 +05:30
Kovid Goyal
4487462b0d
bash assumes ECHO is enabled for the tty
2022-02-22 20:43:58 +05:30
Kovid Goyal
dac9b07f16
bash shell integration: Handle both literal and escaped newlines in PS1
2022-02-22 18:30:20 +05:30
Kovid Goyal
b59212696a
Skip testing bash on macOS as it is too old
2022-02-22 14:53:46 +05:30
Kovid Goyal
7fe1376e34
DRYer
2022-02-22 14:52:54 +05:30
Kovid Goyal
e25b90c1b6
Add bash integration tests
2022-02-22 12:23:19 +05:30
Kovid Goyal
cb32a0b8fc
Handle remote print callback in tests
2022-02-22 11:47:44 +05:30
Kovid Goyal
65c7ecbc30
Test prompt drawing after screen is shrunk
2022-02-21 21:17:52 +05:30
Kovid Goyal
da5e37620e
Also test changing of title when running command
2022-02-21 21:17:52 +05:30
Kovid Goyal
261057396c
Fix zsh integration test on CI
...
Also, add various other robustness improvements to the test
2022-02-21 21:17:41 +05:30
Kovid Goyal
a43f610555
Better error msg when cursor is not changed
2022-02-21 18:23:35 +05:30
Kovid Goyal
45ae52e5d0
Fix assert ordering
2022-02-21 18:07:54 +05:30
Kovid Goyal
a565443d4a
Saner tempdir removal
2022-02-21 18:05:36 +05:30
Kovid Goyal
081d6a3f16
Install various shells ON CI so we can test with them
2022-02-21 18:00:23 +05:30
Kovid Goyal
c9cc832875
Add basic tests for zsh shell integration
2022-02-21 17:57:25 +05:30
Kovid Goyal
b28d94ac97
Always use kitty as the python interpreter to run in the tests
2022-02-21 14:45:12 +05:30
Kovid Goyal
b9684879e7
Try to fix tests failing on CI
2022-02-21 14:24:08 +05:30
Kovid Goyal
63f974531b
Framework for testing with external programs via a PTY
2022-02-21 14:08:10 +05:30
Kovid Goyal
711f8b024e
Properly sanitize pagerhist when returning as plain text
2022-02-15 22:11:57 +05:30
Kovid Goyal
80202d2679
Fix show_last_command_output not working when the output is stored partially in the scrollback pager history buffer
...
Fixes #4435
2022-02-15 13:04:02 +05:30