MCPcopy Create free account
hub / github.com/SpartanJ/eepp / getCommandFromMousebind

Method getCommandFromMousebind

src/eepp/ui/mouseshortcut.cpp:240–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240std::string MouseBindings::getCommandFromMousebind( const MouseBindings::Shortcut& keys ) {
241 auto it = mShortcuts.find( sanitizeShortcut( keys ) );
242 if ( it != mShortcuts.end() ) {
243 return it->second;
244 }
245 return "";
246}
247
248std::string MouseBindings::mousebindFormat( std::string str ) {
249 if ( !str.empty() ) {

Callers 1

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected