mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Initialize _outputBuffer to avoid null ref
This commit is contained in:
@@ -36,12 +36,11 @@ internal class WindowsDriver : ConsoleDriver
|
||||
|
||||
private WindowsConsole.ButtonState? _lastMouseButtonPressed;
|
||||
private WindowsMainLoop? _mainLoopDriver;
|
||||
private WindowsConsole.ExtendedCharInfo [] _outputBuffer;
|
||||
private WindowsConsole.ExtendedCharInfo [] _outputBuffer = new WindowsConsole.ExtendedCharInfo [0 * 0];
|
||||
private Point? _point;
|
||||
private Point _pointMove;
|
||||
private bool _processButtonClick;
|
||||
|
||||
// BUGBUG: Fix this nullable issue.
|
||||
public WindowsDriver ()
|
||||
{
|
||||
if (Environment.OSVersion.Platform == PlatformID.Win32NT)
|
||||
|
||||
Reference in New Issue
Block a user