Main Page | Data Structures | File List | Data Fields | Globals

SDL Console Documentation

Introduction

SDL_Console is a console that can be added to any SDL application. It is similar to Quake and other games consoles. A console is meant to be a very simple way of interacting with a program and executing commands. You can also have more than one console at a time.

Documentation

For a detailed description of all functions see SDL_console::h. Remark that functions that have the mark "Internal" are only used internally. There's not much use of calling these functions.

Keyboard Reference

Up move command history up
Down move command history down
Left move cursor left
Right move cursor right
Ins toggle overwrite mode (you can set the two different cursor in SDL_console.h)
Del delete character above cursor
Backspace delete character left of cursor
Home move cursor to begin of command
End move cursor to end of command
Ctrl-A same as Home
Ctrl-E same as End
Ctrl-C clear commandline
Page-Up move history up
Page-Down move history down
Shift-Home move to top of history
Shift-End move to end of history
Ctrl-L clear history

Have Fun!

Author:
Garett Banuk <mongoose@mongeese.org> (Original Version)

Clemens Wacha <reflex-2000@gmx.net> (Version 2.x, Documentation)

Boris Lesner <talanthyr@tuxfamily.org> (Package Maintainer)


Generated on Sun Aug 31 14:24:32 2003 for SDL Console by doxygen 1.3.2