Where's the Ncurses Cursor?
Posted
#1
(In Topic #199)
Regular

A simple program like this:-
…proves that the cursor is moving, but there is no sign of the actual cursor.
Remembering that there may be a problem with 'lite' terminals, I also tested on xterm.
Thinking that the cursor may dissapear when the program completes, I tried again with this code:-
…still no cursor within my window.
EDIT: I think the problem is that "Screen.Cursor" does not refer to the Ncurses cursor. I need to use Cursor in gb.ncurses.
Posted
Regular

cursor only appears on upper-left border corner
with Ask() i can see my input echoed there, but the PrintCenter() goes in the center (if i type one of the 'abc').
Code (gambas)
- ' Gambas module file
- ' With Window
- Screen.Resize(25, 80)
- ' Window.Border = Border.ACS
- ' Screen.Cursor = Cursor.VeryVisible
- Wait 0.1
- ' End With
Posted
Regular

Captain Bodgit: Gambas cli programming: ncurses text based user interface
Its from a week later, so I'll have to see what else you came up with in that time…
Steve
1 guest and 0 members have just viewed this.



