
{"id":15844,"date":"2014-06-06T14:22:20","date_gmt":"2014-06-06T14:22:20","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=15844"},"modified":"2014-06-06T14:22:20","modified_gmt":"2014-06-06T14:22:20","slug":"how-to-write-a-program-using-ncurses-library-to-move-cursor-to-a-point-on-logical-screen","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2014\/06\/06\/how-to-write-a-program-using-ncurses-library-to-move-cursor-to-a-point-on-logical-screen\/","title":{"rendered":"How to write a program using ncurses library to move cursor to a point on logical screen ?"},"content":{"rendered":"<pre>\n#include &lt;unistd.h&gt;\n#include &lt;stdlib.h&gt;\n#include &lt;curses.h&gt;\n\nint main() {\ninitscr();\n\nmove(5,15);\nprintw(\"%s\",\"Hello World\");\nrefresh();\nsleep(2);\nendwin();\nexit(EXIT_SUCCESS);\n\n}\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>#include &lt;unistd.h&gt; #include &lt;stdlib.h&gt; #include &lt;curses.h&gt; int main() { initscr(); move(5,15); printw(&#8220;%s&#8221;,&#8221;Hello World&#8221;); refresh(); sleep(2); endwin(); exit(EXIT_SUCCESS); }<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[141,83,91],"tags":[608,859,1027,1151],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/15844"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=15844"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/15844\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=15844"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=15844"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=15844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}