Console mode app

BlitzMax Forums/BlitzMax Programming/Console mode app

watusimoto(Posted 2007) [#1]
I want to create a data-rich display without opening a graphics window. Is there any sort of "curses" style library for BlitzMax that would let me position text on a console window, and would be character-only? I don't need curses per-se, and even some limited capacity would be helpful. I do need cross-platform compatibility.

Thanks!


Dabz(Posted 2007) [#2]
Extern "Win32"
		Function AllocConsole:Int()
		Function FreeConsole:Int()
		Function GetConsoleWindow:Int()
End Extern

AllocConsole()
Local hWnd% = GetConsoleWindow()
Print hWnd%
Delay 1000
FreeConsole()


Not cross platform (and complete), but I did write this five seconds ago while thinking the same! :)

Dabz