Open karqical2016 opened 1 day ago
You are running your terminal app test.exe
but using mono
to launch it i.e. the program for running windows programs on linux? Why do you not simply compile for linux directly?
dotnet publish --self-contained -r linux-x64
Also one thing to try is to switch to NetDriver?
Application.UseSystemConsole = true;
If this is running with the curses driver, then you may need to specify TERM environment variable in the environment that the exe is running e.g. setting it to 'xterm' .
Are you targetting version 1 or version 2 of Terminal.Gui
Using C# WinForms Programming:
Create a program named test.exe using the Terminal.GUI plugin. In a WinForms application, create a TerminalControl using Rebex.TerminalEmulation.TerminalControl, then use Rebex.Net.Ssh to establish an SSH connection and bind it to the TerminalControl. Input mono test.exe in this TerminalControl to execute test.exe. The current issue is that after executing mono test.exe, although the test.exe program using the Terminal.GUI plugin runs, its UI is not visible and appears as a black screen. How to address the problem of the interface being displayed as black?
public static void LoadRebexSSH(Rebex.TerminalEmulation.TerminalControl terminalControl) { Rebex.Licensing.Key = LinuxUtil.RebexKey;
}