Christian Burger
fd800dbca8
* Output strings with unprintable characters either as a table or as continuing string of characters; the byte value of unprintable characters (`isprint(<character>, <locale>) == false`) is shown. * Output readable string of `key` -> `value` pairs with an enumerated type for the key and union type for the value. |
||
---|---|---|
.vscode | ||
cmake | ||
.gitignore | ||
CMakeLists.txt | ||
Debug.cpp | ||
Debug.hpp | ||
LICENSE | ||
main.cpp | ||
NCursesPtyApp.cpp | ||
NCursesPtyApp.hpp | ||
NCursesPtyWindow.cpp | ||
NCursesPtyWindow.hpp | ||
README.md |
Description
WARNING: This is a prototype. Things will probably break; in spectacular ways.
NCursesPtyWindow
provides a pseudo terminal in a ncurses window.
Building
Requires:
- GCC 9.3 (C++17)
- ncurses 6.2
- libvterm (0.1.2-2; r740 at https://bazaar.launchpad.net/~libvterm/libvterm/trunk/revision/740)
- libmsgsl-dev 2.1.0-1 (Microsoft C++ Guidelines Support Library)
Running
Though this is a library, there is a demo application. It starts the currently
running shell (or /bin/bash
if SHELL
environment variable is not set) and
runs it in a ncurses window.