mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
Exposes APIs to support upcoming Web console feature (#1770)
* Implementations to allow a WebConsole feature * Preventing application hanging on the RunLoop. * Implementations to allow a WebConsole feature * Preventing application hanging on the RunLoop. * Making WantContinuousButtonPressedView public. * Added TimeoutAdded event. * Fixes unit test for WantContinuousButtonPressedView. * Changes as requested resolved. Co-authored-by: BDisp <bd.bdisp@gmail.com>
This commit is contained in:
committed by
GitHub
parent
49207e6ce5
commit
68b40a93f1
@@ -947,7 +947,7 @@ namespace Terminal.Gui {
|
||||
await Task.Delay (200);
|
||||
while (isButtonPressed) {
|
||||
await Task.Delay (100);
|
||||
var view = Application.wantContinuousButtonPressedView;
|
||||
var view = Application.WantContinuousButtonPressedView;
|
||||
if (view == null) {
|
||||
break;
|
||||
}
|
||||
@@ -1187,7 +1187,7 @@ namespace Terminal.Gui {
|
||||
public NetWinVTConsole NetWinConsole { get; }
|
||||
public bool IsWinPlatform { get; }
|
||||
public override IClipboard Clipboard { get; }
|
||||
internal override int [,,] Contents => contents;
|
||||
public override int [,,] Contents => contents;
|
||||
|
||||
int largestWindowHeight;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user