skip to navigation
skip to content

dosbox-screen 1.1.1

The Screen class lets you to do positioned writes to the dos terminal.

Package Documentation

– Screen positioning and colors in the dos shell (and unix too)


pip install doscmd-screen


Version 1.1.0 introduces Screen.color(“txt”, fg=’white’, bg=’blue’) which returns a string that can later be printed.

Version 1.0.3 introduces thread safe window areas through the Window class.

Changes in version 1.0 include support for non-dos platforms, a visual test script, and zero-based indexing of screen positions. Since the last one is a backwards incompatible change I have upped the major version number. I don’t forsee any further backwards incompatible changes in this module.


The documentation lives at


Straight forward positioning and terminal colors in the terminal:

import screen  # screen probably needs to be your first import.
scr = Screen()
scr.centerxy(, scr.middle, '((.))')

scr.writexy(scr.left, scr.bottom,
            'left bottom',
                    color='black', on='red')

Works for both Windows..

..and unix-like terminals:

File Type Py Version Uploaded on Size
dosbox-screen-1.1.1.tar.gz (md5) Source 2017-11-28 6KB
dosbox_screen-1.1.1-py2-none-any.whl (md5) Python Wheel py2 2017-11-28 8KB