Advertisement
hakonhagland

perl-macos-curses-simple

Feb 25th, 2022
1,582
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 0.22 KB | None | 0 0
  1. #! /usr/bin/env perl
  2.  
  3. use strict;
  4. use warnings;
  5. use utf8;
  6. use Curses;
  7. binmode STDOUT, ':encoding(utf-8)';
  8. initscr();
  9. noecho();
  10. cbreak();
  11. addstr(0, 0, "testing: привет");
  12. refresh();
  13. my $ch = getch();
  14. endwin();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement