Im trying to detect when my menu is resized using trap "echo resized" SIGWINCH but it doesnt seem to be detecting it. Im currently using ubuntu 20.04 and i am using a bash script to do this.
The trap command is at the top of my script. Why is it not executing?
Trap Command not detecting terminal resize (SIGWINCH)
738 views Asked by Quantum At
1
According to bash manual (
man bash):You can verify this with: