F
F
fobiasmog2014-01-13 10:40:57
Perl
fobiasmog, 2014-01-13 10:40:57

Why doesn't Curses work in Perl noecho()?

What am I doing wrong?

use strict;
use Curses;
my $win = Curses->new();
noecho();
$win->addstr(10, 5, 'ggg');
$win->refresh;

At the same time, [email protected]:~$ appears in the terminal window.
Symbols do not appear when trying to type something, but pressing enter produces the result.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question