Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

It does not disable it, it catches it and restores the terminal cursor's visibility (originally it reseted everything, but you can just work on, and the colors will scroll off the screen).

... but of course, maybe you enjoy random color font. :p



Thank you for the correction. Based on the previous comment, I assumed the trap function was doing something evil without completely reading the script.


Oh, that makes sense.

I haven't seen that command before, and from the context/presentation of the script, it made line 20 appear evil to me. :P




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: