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

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

[Octave-bug-tracker] [bug #64883] sprintf with backspace character inser


From: anonymous
Subject: [Octave-bug-tracker] [bug #64883] sprintf with backspace character inserts newline
Date: Tue, 14 Nov 2023 16:28:32 -0500 (EST)

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

Thanks - fprintf is the solution for both.

fprintf('Counter     ');

for k=1:100
    fprintf('\b\b\b\b%-4d',k);
    pause(0.05);
end
fprintf('\n');




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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