Unknown6656 / AutoIt-Interpreter

A C# AutoIt interpreter designed to be platform-independent
GNU Affero General Public License v3.0
37 stars 10 forks source link

[BUG] crashing when pressing `Shift + Enter` in interactive mode #198

Open Unknown6656 opened 5 months ago

Unknown6656 commented 5 months ago

Bug Description

The interpreter crashes with:

The value must be greater than or equal to zero and less than the console's buffer size in that dimension. (Parameter 'top')
Actual value was 51.
If you believe that this is a bug, please report it to https://github.com/Unknown6656/AutoIt-Interpreter/issues/new?template=bug_report.yml.
________________________________________________________________________________________________________________________________________________________________________________________________________________
Exit code: -2146233086     Time: 00:00:09.7584589 (Total), 00:00:00 (Script)

Steps to reproduce the Bug

  1. Run autoit3 -mi
  2. Type $a = 1
  3. Press Shift + Enter

Expected Behavior

no crash; just a new line break

Operating System Type

Windows, MacOS, Linux, Other POSIX compliant OS, Other non-POSIX compliant OS

Operating System Architecture

x86, x64, arm, arm64, Other

Operating System Descriptor

Microsoft Windows [Version 10.0.22631.3296]

AutoIt Interpreter Version

+-----------------+
| . .o+.+.*Eooo   |   AUTOIT3 INTERPRETER
|  o +o= = =.  .  |     Written by Unknown6656, 2018 - 2024
|   .o=.= o o     |
|   o =B=+.o      |   https://github.com/Unknown6656/AutoIt-Interpreter/
|  o ++B=S+       |
|   =o.=..        |   Version 0.12.2390.8650, fc8e83b32164422fe0cbcc8b641fbb42ebe0d778
|  .. +           |   276291E3C0ACD3A54464D36E4823DDB3AB52E54B4E45137A6E542557023E815C
|    o            |
|                 |   Use this image to compare whether two AutoIt versions are equal.
+-----------------+

Additional Information

No response