mirror of
https://github.com/chjj/blessed.git
synced 2026-02-06 11:22:09 +00:00
add program.index.
This commit is contained in:
parent
7351c8a716
commit
a9fb228f23
@ -126,6 +126,7 @@ Program.bind = function(program) {
|
||||
|
||||
if (!~Program.instances.indexOf(program)) {
|
||||
Program.instances.push(program);
|
||||
program.index = Program.total;
|
||||
Program.total++;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user