mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-11-18 09:51:06 +01:00
11 lines
344 B
Ruby
11 lines
344 B
Ruby
describe 'a running zpty command' do
|
|
it 'is not affected by running zsh-autosuggestions' do
|
|
session.run_command('zmodload zsh/zpty')
|
|
session.run_command('zpty -b kitty cat')
|
|
session.run_command('zpty -w kitty cat')
|
|
sleep 1
|
|
session.run_command('zpty -r kitty')
|
|
|
|
wait_for(session.content).to end_with("\ncat")
|
|
end
|
|
end
|