vtchs

Description: Listen for console switches
Status: Complete
Source: https://git.maandree.se/vtchs
Latest release: 1.1.3
License: ISC License (Internet Systems Consortium license)
Written in: C (ISO C99)

vtchs prints which Linux VT is in the foreground when it starts and each time the foreground VT is changed.