Design Pattern Examples
Overview of object-oriented design patterns
helpers/cursor.h
Go to the documentation of this file.
1
5
6#pragma once
7#ifndef __CURSOR_H__
8#define __CURSOR_H__
9
13void disableinputecho(void);
14
19void enableinputecho(void);
20
26void setcursorposition(int row, int column);
27
34void getcursorposition(int* row, int* column);
35
36
37#endif // __CURSOR_H__
void disableinputecho(void)
Disable echoing input until enableinputecho() is called.
Definition: cursor.c:112
void enableinputecho(void)
Enable echoing input, which should be the default mode. Call this only after calling disableinputecho...
Definition: cursor.c:123
void setcursorposition(int row, int column)
Move the text cursor to the specified screen coordinates.
Definition: cursor.c:134
void getcursorposition(int *row, int *column)
Retrieve the current cursor position in the console window.
Definition: cursor.c:143