Skip to content
/ terminal Public

Set terminal properties (like colors, font face) on Windows and Posix systems in the D programming language

License

Notifications You must be signed in to change notification settings

jkm/terminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Usage

Posix systems (Linux, Mac OSX, FreeBSD, etc.)

Linking at compile time: $ dmd -unittest /path/to/libtinfo.a -run terminal.d

dmd -unittest -m32 -gc /usr/lib32/libtinfo.a -run terminal.d

Loading at startup (if not available an exception is thrown): $ dmd -version=dl -unittest /path/to/libdl.a -L-ldl -run terminal.d

  dmd -version=dl -unittest -m32 -gc /usr/lib32/libdl.a -L-ldl -run
  terminal.d

  rdmd --main -version=dl -unittest -m32 -gc /usr/lib32/libdl.a -L-ldl
  terminal.d

  rdmd --main -unittest -gc /usr/lib32/libtermcap.a terminal.d

// TODO // try libraries // termcap // ncurses // curses

Windows (since version ???)

$ dmd -unittest -run terminal.d

Licence

Licence depends on the software linked against.

Depends on what you link to.

Dependencies

Uses termcap/ncurses on Posix libtermcap libncurses

About

Set terminal properties (like colors, font face) on Windows and Posix systems in the D programming language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages