Fix compatibility with Go versions older than 1.17 - https://github.com/buger/goterm/commit/b630d372aa7a528c355c2e6b456ad583fd488967