# Catching the signal SIGWINCH in Julia

**URL:** <https://discourse.julialang.org/t/catching-the-signal-sigwinch-in-julia/33782>\
**Category:** General Usage\
**Created:** [January 25, 2020, 2:29pm UTC](https://discourse.julialang.org/t/catching-the-signal-sigwinch-in-julia/33782 "2020-01-25T14:29:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ronis\_BR](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ronis_br/32/50999_2.png) [@Ronis\_BR](https://discourse.julialang.org/u/Ronis_BR)\
**Post date:** [January 25, 2020, 2:29pm UTC](https://discourse.julialang.org/t/catching-the-signal-sigwinch-in-julia/33782/1 "2020-01-25T14:29:59Z")

</div>

Hi!

I am trying to develop a package to create text-based user interfaces in Julia: TextUserInterfaces.jl. However, I need a way to check if the terminal has been resized so I can automatically update the interface. I need to catch the signal `SIGWINCH` and run a Julia function. Is it possible?
