File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
src/PowerShellEditorServices/Session Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,10 @@ internal class ConsoleServicePSHostRawUserInterface : PSHostRawUserInterface
19
19
{
20
20
#region Private Fields
21
21
22
- private Size currentBufferSize = new Size ( 80 , 100 ) ;
22
+ private const int DefaultConsoleHeight = 100 ;
23
+ private const int DefaultConsoleWidth = 120 ;
24
+
25
+ private Size currentBufferSize = new Size ( DefaultConsoleWidth , DefaultConsoleHeight ) ;
23
26
24
27
#endregion
25
28
@@ -140,15 +143,15 @@ public override bool KeyAvailable
140
143
/// </summary>
141
144
public override Size MaxPhysicalWindowSize
142
145
{
143
- get { return new Size ( 80 , 20 ) ; }
146
+ get { return new Size ( DefaultConsoleWidth , DefaultConsoleHeight ) ; }
144
147
}
145
148
146
149
/// <summary>
147
150
/// Gets the maximum size of the console window.
148
151
/// </summary>
149
152
public override Size MaxWindowSize
150
153
{
151
- get { return new Size ( 80 , 20 ) ; }
154
+ get { return new Size ( DefaultConsoleWidth , DefaultConsoleHeight ) ; }
152
155
}
153
156
154
157
/// <summary>
You can’t perform that action at this time.
0 commit comments