git.shiar.nl
/
descalc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
release 1.11.2
[descalc.git]
/
05_disp_curses.pm
diff --git
a/05_curses.pm
b/05_disp_curses.pm
similarity index 84%
rename from
05_curses.pm
rename to
05_disp_curses.pm
index 73e0d01898b9e0e8a63d71206e8f39f16c91d9f3..e88f6672702fb94b3161cf3278f73d43be3b38cd 100644
(file)
--- a/
05_curses.pm
+++ b/
05_disp_curses.pm
@@
-1,15
+1,13
@@
# ncurses output for DCT, by Shiar
# ncurses output for DCT, by Shiar
-# 1.10.1 200410140120 - all output functions seperated from main
+# 1.11.0 200410152225 - uses class in filename instead of $set{display} check
+# 1.10.0 200410140120 - all output functions seperated from main
use strict;
use warnings;
use Curses;
use strict;
use warnings;
use Curses;
-return 0 if $set{display};
-$set{display} = "curses";
-
push @{$hook{init}}, sub {
initscr;
END { endwin; } # restore terminal on quit
push @{$hook{init}}, sub {
initscr;
END { endwin; } # restore terminal on quit
@@
-51,6
+49,6
@@
push @{$hook{showentry}}, sub {
return {
author => "Shiar",
title => "curses output",
return {
author => "Shiar",
title => "curses output",
- version => "1.1
0.
1",
+ version => "1.11",
};
};