Key logger / Keybindings troubleshooter #1952
                  
                    
                      Spitfire1900
                    
                  
                
                  started this conversation in
                Ideas
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
💡
Emulate the Keyboard Shortcuts Troubleshooting feature from VSCode
Add a LOGGER, e.g.
prompt_toolkit.bindings_resolver: logs attempted keybinding resolutions and matched resolutions.prompt_toolkit.call_handlerlogs handlers immediately before calling them.This would listen for ENV vars, e.g.
PTK_BINDINGS_RESOLVER_LOGandPTK_CALL_HANDLER_LOGfor where to log the file, and optionally alsoPTK_LOGCONF, which would point to a validlogging.cnffile with advanced configuration.Two PoC sample diffs
Resolver logger:
Call handler logger:
Beta Was this translation helpful? Give feedback.
All reactions