StringRef-based keyboard events for Linux