Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Move cursor to specific point on screen using ncurses c++ (Linux)

i'd like to move the cursor to specific point on screen, but i can move logical point, but the cursor stay static on position.

How to do it work in c++ using ncurses ?

OBS.: i've tried to use move(y, x); but it doesn't works

like image 928
Gorio Avatar asked Sep 14 '26 02:09

Gorio


1 Answers

From the move(y,x) man page:

This routine does not move the physical cursor of the terminal until refresh is called.

Did you call refresh() after calling move(y,x)

like image 67
Craig Avatar answered Sep 16 '26 16:09

Craig