MCPcopy Create free account
hub / github.com/WayfireWM/wayfire / tokenize_at

Function tokenize_at

plugins/single_plugins/xkb-bindings.cpp:41–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41std::vector<std::string> tokenize_at(std::string str, char token)
42{
43 std::vector<std::string> tokens;
44 std::istringstream iss(str);
45 std::string token_str;
46 while (std::getline(iss, token_str, token))
47 {
48 tokens.push_back(token_str);
49 }
50
51 return tokens;
52}
53
54struct xkb_binding_t
55{

Callers 1

parse_keybinding_xkbFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected