Design Pattern Examples
Overview of object-oriented design patterns
cursor.cpp File Reference

Implementation of the setcursorposition() and getcursorposition() functions for manipulating the cursor position on Windows terminals. More...

#include <iostream>
#include <string>
#include <vector>
#include <termios.h>
#include <unistd.h>
#include "_countof.h"
#include "cursor.h"
#include "split.h"
#include "formatstring.h"
Include dependency graph for cursor.cpp:

Go to the source code of this file.

Namespaces

namespace  Helpers
 The namespace containing all the "helper" functions in the C++ code.
 

Functions

void disableinputecho ()
 Disable echoing input until enableinputecho() is called.
 
void enableinputecho ()
 Enable echoing input, which should be the default mode. Call this only after calling disableinputecho();.
 
void setcursorposition (int row, int column)
 Move the text cursor to the specified screen coordinates.
 
void getcursorposition (int *row, int *column)
 Retrieve the current cursor position in the console window.
 

Detailed Description

Implementation of the setcursorposition() and getcursorposition() functions for manipulating the cursor position on Windows terminals.

Definition in file cursor.cpp.