octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #64908] Cut/paste "pause" into command window


From: Arun Giridhar
Subject: [Octave-bug-tracker] [bug #64908] Cut/paste "pause" into command window may cause unexpected results
Date: Sun, 19 Nov 2023 15:59:45 -0500 (EST)

Follow-up Comment #2, bug #64908 (project octave):

Oh, wait, now I see what's happening when pasting it.

When you type pause without arguments, it waits for a keystroke from the user
before proceeding. Since the buffer already has more characters after the
pause being pasted, the pause command immediately gives back control to what
follows it.

Try pause (1) or some time delay and it will work.

It doesn't seem like a bug to me. Just to be complete, what does Matlab do?
Does it wait for any keystroke or specifically the enter key?


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64908>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]