shmruin commented on PR #4986:
URL: https://github.com/apache/zeppelin/pull/4986#issuecomment-3114620102

   @tbonelee I fix the code to support terminal-like carriage return. Now `\r` 
correctly move to the front, and overwrite the output. This feature is applied 
to both classic and new angular UI, as they are not so different.
   
   I tested this in shell interpreter. (+ python interpreter, also)
   ```bash
   %sh
   printf 'Initializing system, please wait...\rLoading components...\n'
   printf 'Progress: [25%%]\rProgress: [50%%]\rProgress: [100%%]\n'
   ```
   <img width="2496" height="589" alt="1_CR_new" 
src="https://github.com/user-attachments/assets/6770d46a-135a-4aac-8553-ca7348566a51";
 />
   <img width="2547" height="414" alt="1_CR_classic" 
src="https://github.com/user-attachments/assets/b2ed901c-bbe5-441c-ac6b-c0bdb26f43ed";
 />
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to