Zero-allocation, read-only terminal behavior state required by input encoders.
Helper methods for decoding packed input mode snapshots.
Returns one coherent snapshot of all input-readable terminal mode bits.