elw00d / consoleframework

Cross-platform toolkit for easy development of TUI applications.
http://elw00d.github.io/consoleframework
MIT License
551 stars 64 forks source link

libncursesw5 for legacy linux support such as ubuntu 18.04 #73

Open rstm-sf opened 3 years ago

rstm-sf commented 3 years ago

Hello!

libncursesw5 for legacy linux support such as ubuntu 18.04. For versions starting from 20.04, version libncursesw6 is supplied by default. libncursesw5 can be installed separately

Maybe we should indicate in the readme that it needs to be installed separately? It seems to me that it is too early to bump version, since 18.04 will be supported for a long time

See also https://pkgs.org/download/libncursesw5 and https://github.com/ForNeVeR/Fenrir/issues/48

joshjackson commented 1 month ago

Editing ConsoleFramework/Native/NCurses.cs and simply replacing all occurrences of "libncursesw.so.5" with "libncursesw.so.6" appears to be functional. An initial build of the demo app with a target platform of dotnetcore8.0 and the switch to ncurses6 yields a working demo.