Overview
Syllabus
CL EYE-CATCHING USER INTERFACES
CARRIAGE RETURN YOUR NEW SECRET WEAPON
UNICODE YOUR OTHER NEW SECRET WEAPON
MISSING CHARACTERS IN A TYPEFACE
TEXT DECORATION AND COLOR
MULTILINE OUTPUT WITH CURSOR MOVEMENT
HOW CAN WE TELL WHAT IS SUPPORTED?
TERMINFO A database of terminal names (from TERM) and capabilities that started in ncurses. Includes escape codes.
RELY ON THE USER Provide flags and configuration for color and interactivity
HANDLING WINDOWS • Windows 10 can enable VT processing • For other versions, wrap the output and parse escape codes
WINDOWS SUBSYSTEM FOR LINUX - ANSI escape codes and POSIX syscalls under Windows • The console related API don't work across environments
DETECTING TERMINAL SIZE Great for columnar output and wrapping
MULTI-LINE INTERACTIVE INLINE INPUTS Raw mode
POTPOURRI
READING LIST . Windows console reference • ANSI escape codes
Taught by
Gopher Academy