2 ms·
It doesn't repro for me; if I change to PS1='> ', it's working as well as the usual PS1='\$ '. The refresh logic saves the cursor position and then restores it
by kazinator 3y ago
It doesn't repro for me; if I change to PS1='> ', it's working as well as the usual PS1='\$ '.
The refresh logic saves the cursor position and then restores it, so even if you're in the middle of editing a long line, the clock can update, and the cursor doesn't appear to move.
Are you seeing this 100% of the time? Like on every stroke of the 15 second timer?
I've not tested with a lot of terminal emulators; I'm using PuTTY and Gnome Terminal. Currently testing with xterm and rxvt; looks fine.