Text this: Adaptively programmable metasurface for intelligent wireless communications in complex environments