From b8631ac83b39719aee178fc146f9daadab8334c3 Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Tue, 9 Oct 2012 15:25:06 -0700 Subject: [PATCH] Add newline when outputting console.log to stdout --- native/atom_cef_client_mac.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/native/atom_cef_client_mac.mm b/native/atom_cef_client_mac.mm index 0161e7eff..6533b29bb 100644 --- a/native/atom_cef_client_mac.mm +++ b/native/atom_cef_client_mac.mm @@ -1,10 +1,10 @@ #import +#import #import "include/cef_browser.h" #import "include/cef_frame.h" #import "native/atom_cef_client.h" #import "atom_application.h" #import "atom_window_controller.h" -#include void AtomCefClient::FocusNextWindow() { NSArray *windows = [NSApp windows]; @@ -112,5 +112,5 @@ void AtomCefClient::Exit(int status) { } void AtomCefClient::Log(const char *message) { - std::cout << message; + std::cout << message << "\n"; } \ No newline at end of file