mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-01-01 17:53:38 +08:00
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
|