On Friday, 9 September 2016 at 11:56:11 UTC, Adam D. Ruppe wrote:
On Friday, 9 September 2016 at 11:21:07 UTC, Vadim Lopatin wrote:
Now it's possible to build DlangUI apps to run in console (Linux, Windows).

Very nice.

Part of key modifiers do not work in linux console.
Mouse events working ok.

Which parts are you having trouble with? I have implemented a lot of this for my terminal.d and might be able to help.

Keyboard support on Linux terminals seems most difficult.
Some shortcuts are being processed by terminal app. Some ctrl-combinations are causing signals. I have an idea to catch some of Ctrl+key signals, and simulate keypress. E.g. I cannot get working text selection moving by Ctrl+Shift+Arrows.

UI layout code required surprisingly a few changes.
Most of console related fixes were made by providing separate theme file.
Only hardcoded margins/padding/size limits were needed to fix.

Reply via email to