1// ============================================================================= 2// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab 3// Copyright (C) 2020 - Tan C.L. ByteCode 4// 5// This file is distributed under the same license as the Scilab package. 6// ============================================================================= 7// 8// <-- Non-regression test for bug 14422 --> 9// 10// <-- Bugzilla URL --> 11// http://bugzilla.scilab.org/14422 12// 13// <-- INTERACTIVE TEST --> 14// after clc(); mprintf("abcd"); prints " abcd" with a leading blank. 15// clc(0) now just clearing its own line, and redisplay the prompt --> on the same line. 16 17// Test 1 18clc(); mprintf("abcd"); 19// abcd 20// --> 21// 22// but not 23// abcd 24// --> 25// 26 27// Test 2 28clc(0) 29// should clear its own line and redisplay the prompt at the begining of the same line 30 31 32 33