Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Users should be able to manually kill the *quickrun* buffer with no errors. * quickrun.el (quickrun--make-sentinel): Check if quickrun--buffer-name still alive before call quickrun--apply-colorizing. * test/test-quickrun.el (quickrun:user-manually-terminates-program): Add test. * sample/sample_endless_loop.bash: Add sample file for the new test.
- Loading branch information
Tino Calancha
committed
Mar 30, 2021
1 parent
57db985
commit 96d49f0
Showing
3 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
|
||
function endlessLoop () { | ||
local step=1 | ||
while true | ||
do | ||
printf "Endless loop step %d\n" $step | ||
((step+=1)) | ||
sleep 1 | ||
done | ||
} | ||
|
||
endlessLoop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters