Only use relative line number when in window system.