Hi @alma
This seems to be for the app to capture keyboard binding events and is currently not supported. There are similar post:
Perhaps you may be interested in submitting a feature request Issues · streamlit/streamlit · GitHub