Skip to main content
added 67 characters in body
Source Link
dfernan
  • 550
  • 3
  • 14

Python, 115115 113 bytes

saved a couple of bytes thanks to @kundor and @Phlarx

import time while 1: h,m=time.localtime()[3:5] print5];print("\x1b[0;H{:02} {}\n{:02} {} ".format(h,"-"*m,h+1,"-"*(60-m))) 

Python, 115 bytes

import time while 1: h,m=time.localtime()[3:5] print("\x1b[0;H{:02} {}\n{:02} {}".format(h,"-"*m,h+1,"-"*(60-m))) 

Python, 115 113 bytes

saved a couple of bytes thanks to @kundor and @Phlarx

import time while 1:h,m=time.localtime()[3:5];print("\x1b[0;H{:02} {}\n{:02} {} ".format(h,"-"*m,h+1,"-"*(60-m))) 
Source Link
dfernan
  • 550
  • 3
  • 14

Python, 115 bytes

import time while 1: h,m=time.localtime()[3:5] print("\x1b[0;H{:02} {}\n{:02} {}".format(h,"-"*m,h+1,"-"*(60-m)))