coronacommit
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "nclooper.h"
|
||||
|
||||
@@ -13,11 +14,32 @@ extern int verbosity;
|
||||
/* --------------------------------------------------------------------- */
|
||||
int enter_interactive(SampleRef *psmpl, int notused)
|
||||
{
|
||||
int foo, row, col;
|
||||
char txt[99];
|
||||
|
||||
#if DEBUG_LEVEL
|
||||
fprintf(stderr, ">>> %s ( %p %d )\n", __func__, psmpl, notused);
|
||||
#endif
|
||||
|
||||
|
||||
for (foo=0; foo<26; foo++) {
|
||||
|
||||
idx2position(foo, &row, &col);
|
||||
sprintf(txt, "%3d", foo);
|
||||
mvaddstr(row, col, txt);
|
||||
|
||||
if (psmpl[foo].key) {
|
||||
standout();
|
||||
mvaddch(row, col+4, psmpl[foo].key);
|
||||
standend();
|
||||
}
|
||||
|
||||
refresh();
|
||||
|
||||
}
|
||||
|
||||
sleep(3);
|
||||
|
||||
return -1;
|
||||
}
|
||||
/* --------------------------------------------------------------------- */
|
||||
|
||||
Reference in New Issue
Block a user