Commit graph

14 commits

Author SHA1 Message Date
Christian Burger 3af1284cf8 refactoring: wide character methods to Window 2022-04-25 15:55:39 +02:00
Christian Burger 746e458cd2 renamed Window to PtyWindow
Making space for a more general base window class with support for wide
characters.
2022-04-25 11:10:07 +02:00
Christian Burger ae6130f095 cmake: some improvements
* not depending on "-dev" packages for the built Debian package
* some refactoring in if-clauses and with "quotes"
* libvterm dependency: if something is missing, made clear what
2022-04-23 22:24:08 +02:00
Christian Burger f994cb2261 moved library system headers to separate folder
Gave the library a version in case it is build statically.
2022-04-23 20:27:55 +02:00
Christian Burger 2d7dda88c5 cmake: determines version from latest Git tag
Some other changes to the CMake-files done as well:
* documentation looks more like Doxygen-style
* prevent mix-up with C++ GSL library ("Guidelines support library" not
"GNU scientific library")
2022-04-23 10:00:33 +02:00
Christian Burger bc76ae227c fixed homepage for Debian package 2022-04-21 12:36:18 +02:00
Christian Burger d3bdb305d0 fixes issue with wrong description in DEB package
* added homepage URL as well
2022-04-21 10:28:45 +02:00
Christian Burger 0a916fe01a made package (.deb and .tar.gz) 2022-04-18 22:59:36 +02:00
Christian Burger f1d0c012b7 fixing debug facility in when NDEBUG is set
- changed libvterm.cmake so it is easier to integrate in other projects
2022-04-14 09:31:19 +02:00
Christian Burger 4ca933a158 refactoring: closes #10 2022-04-13 19:41:41 +02:00
Christian Burger 8e71512f12 cmake: locate or build libvterm dependency
There is no version detection. If there is any vterm library, it is
used. If it is the wrong version, there will be an build error.
`libvterm.so.0.0.2` is preferred, which hopefully is compatible to
revision 740 or Ubuntu `libvterm0` version 0.1.2-2.

If no library is found, the correct one is downloaded and build.
2022-04-13 13:10:55 +02:00
Christian Burger ef07c3ac06 fixes #5, touches on #8
* 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
2022-04-13 10:46:44 +02:00
Christian Burger 2171a3daa4 consistent naming of project NCursesPtyWindow 2022-04-05 10:28:10 +02:00
Christian Burger 28643632ce prototype: ncurses window class wrapping a PTY 2022-04-03 10:16:20 +02:00