How to show Input Key in Text / String

Is this achievable in pure text like “Press { magic code text here } to jump” to display a visualization of a button or Key?
For purpose of just using C++.