Rip out whats left of input position. Not using it.

modified:   src/nmseffect.c
This commit is contained in:
Brian Barto 2018-10-24 22:05:40 -04:00
parent 65901d9875
commit a771cf32c1
1 changed files with 0 additions and 14 deletions

View File

@ -35,8 +35,6 @@
static int autoDecrypt = 0; // Auto-decrypt flag
static int maskBlank = 0; // Mask blank spaces
static int colorOn = 1; // Terminal color flag
static int inputPositionX = -1; // X coordinate for input position
static int inputPositionY = -1; // Y coordinate for input position
// Character attribute structure, linked list. Keeps track of every
// character's attributes required for rendering and decryption effect.
@ -355,18 +353,6 @@ void nmseffect_set_color(int setting) {
colorOn = 0;
}
/*
* Set the desired coordinates of the cursor in the terminal window when
* nmseffect_exec() gets the character selection from the user that is set
* with nmseffect_set_returnopts().
*/
void nmseffect_set_input_position(int x, int y) {
if (x >= 0 && y >= 0) {
inputPositionX = x;
inputPositionY = y;
}
}
/*
* Sleep for the number of milliseconds indicated by argument 't'.
*/