Hello all,

Since few day I work on a little project that consist to a cli program written 
in Gambas3 where the first task is to ask to the user to enter a password but 
of course, all written character must be hidden.

I try to use INPUT instruction but all characters entered are automatically 
written on the terminal so it’s not a good solution.
I try to use gb.ncurses to do the same work and a strange thing happens. Just 
enabling gb.ncurses on the project without any instruction to create a new 
Window (as described in the gb.ncurses tutorial) and automatically all 
characters written in console to the INPUT instruction are hidden. This 
solution could work but I have other problem when for example I terminate the 
program, the terminal where the program is started become unusable. I don’t 
know why but in the end this solution is not usable in my case.

Does someone could help me on this problem please ?

PS:  Event Application_Signal(Signal As Integer) raise correctly when 
gb.ncurses is disabled in console based program (Gambas 
3.8.90+svn7374+build31~ubuntu14.04.1 installed into Linux Mint 17.2) but does 
not raise when gb.ncurses is enabled, event if no instruction regarding this 
component is used in the program.

Thank you

Olivier Cruilles

------------------------------------------------------------------------------
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to