You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
344 B
Ruby
12 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
|