summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2015-04-22 22:03:01 +0100
committerMaxime Coste <frrrwww@gmail.com>2015-04-22 22:03:01 +0100
commit80fb8aa60d20720b2f5322dd3f29d8215bfec8e4 (patch)
treedafc6c4864d928f74ef8ce8f97218412d3cc9363 /src
parentf6c7948c12455c55f19ac27f328478b486f8098e (diff)
Use puts instead of printf in ncurses_ui
Diffstat (limited to 'src')
-rw-r--r--src/ncurses_ui.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ncurses_ui.cc b/src/ncurses_ui.cc
index 562b6771..d18dc9ba 100644
--- a/src/ncurses_ui.cc
+++ b/src/ncurses_ui.cc
@@ -263,7 +263,7 @@ NCursesUI::NCursesUI()
mousemask(ALL_MOUSE_EVENTS | REPORT_MOUSE_POSITION, nullptr);
mouseinterval(0);
// force enable report mouse position
- printf("\033[?1002h");
+ puts("\033[?1002h");
update_dimensions();
wrefresh(stdscr);
@@ -271,7 +271,7 @@ NCursesUI::NCursesUI()
NCursesUI::~NCursesUI()
{
- printf("\033[?1002l");
+ puts("\033[?1002l");
endwin();
signal(SIGWINCH, SIG_DFL);
signal(SIGINT, SIG_DFL);