Skip to content

Instantly share code, notes, and snippets.

@miguelgrinberg
Created July 27, 2023 23:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miguelgrinberg/e63562a0022043ca4d1217ebab2afea5 to your computer and use it in GitHub Desktop.
Save miguelgrinberg/e63562a0022043ca4d1217ebab2afea5 to your computer and use it in GitHub Desktop.
Tiny script to test if the undercurl control codes work in your terminal.
#!/bin/bash
printf 'This is \e[4:3mmono undercurl\e[0m,\n'
printf 'and this is \e[4:3m\e[58:2:206:64:51mcolor undercurl\e[0m.\n'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment