ENTER pressed automatically when left-clicking and moving?

So, basically whenever I left click and drag the cursor on the command window (for instance to scroll up the bar), for some reason Matlab thinks I am pressing ENTER and it skips a line. This wouldn't bother me that much if it didn't interrupt scripts while running, as if I stopped the execution voluntarily. I have no idea why this is happening and it begins right after I open MATLAB. It doesn't happen if I only left click in the window or if i scroll up using the wheel on the mouse.

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Products

Release

R2024a

Tags

Asked:

on 15 Sep 2025

Edited:

on 15 Sep 2025

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!