Skip to content

Commit ce861ec

Browse files
authored
Update keys.cpp
1 parent 8493660 commit ce861ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/keys.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ int main()
111111
}
112112
case Term::Event::Type::CopyPaste:
113113
{
114-
std::string key_str{event};
114+
std::string key_str(event);
115115
if(!key_str.empty() && key_str[0] == '\033')
116116
{
117117
std::cout << "You discovered a key combination not yet managed by cpp-terminal (";

0 commit comments

Comments
 (0)