Disable menu shortcuts ("r","c")

First of all, I’m enjoying Streamlit a lot, so thanks :slight_smile:

I am looking for a way to disable the keyboard shortcuts assigned to “Rerun app” (shortcut: “r”) and “Clear cache” (shortcut: “c”) in the streamlit menu. Menu is hidden with the st.markdown “hack” but I want to disable the keyboard shortcuts too.

Hi again,

Has anyone found a way to disable the “Rerun app” and "Clear cache keyboard shortcuts? Thanks in advance :slight_smile: