<h1 dir="auto">Environment</h1>
<p dir="auto">Windows 10<br>
Any other software?</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="
# Steps to reproduce

1. Run cmd.exe under windows terminal preview
2. navigate to a directory containing text files
3. Run the command &quot;less -MN *.txt&quot;
4. When you reach the end of the 1st file enter the &quot;less&quot; command &quot;:n&quot; to go to the next file

# Expected behavior
&quot;less&quot; should start displaying the next file.

# Actual behavior
I get the following error message &quot;no previous regular expression&quot;. This does not happen when I run less under a cmd.exe session the old fashioned way."><pre class="notranslate"><code class="notranslate">
# Steps to reproduce

1. Run cmd.exe under windows terminal preview
2. navigate to a directory containing text files
3. Run the command "less -MN *.txt"
4. When you reach the end of the 1st file enter the "less" command ":n" to go to the next file

# Expected behavior
"less" should start displaying the next file.

# Actual behavior
I get the following error message "no previous regular expression". This does not happen when I run less under a cmd.exe session the old fashioned way.
</code></pre></div>
<h1 dir="auto">Description of the new feature/enhancement</h1>
<p dir="auto">Add a Global Setting <code class="notranslate">OpenMaximized</code> to start the application with a maximized window.</p>