Skip to content

Commit

Permalink
Rip out whats left of input position. Not using it.
Browse files Browse the repository at this point in the history
	modified:   src/nmseffect.c
  • Loading branch information
bartobri committed Oct 25, 2018
1 parent 65901d9 commit a771cf3
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/nmseffect.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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'.
*/
Expand Down

0 comments on commit a771cf3

Please sign in to comment.