Christian Burger
ef07c3ac06
* using `get_wch()` now and mapping most of the function keys documented in `vterm_keycodes.h` (not num keypad) * there are still a lot of mappings from ncurses missing (in conjunction with modifier keys, related issue #11) * using mutex to make sure writing to terminal client is serialized |
||
---|---|---|
.vscode | ||
cmake | ||
.gitignore | ||
CMakeLists.txt | ||
Debug.cpp | ||
Debug.hpp | ||
LICENSE | ||
main.cpp | ||
NCursesPtyApp.cpp | ||
NCursesPtyApp.hpp | ||
NCursesPtyWindow.cpp | ||
NCursesPtyWindow.hpp | ||
README.md | ||
SingleUserInput.cpp | ||
SingleUserInput.hpp |
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.