Skip to content

Commit 86a8e2f

Browse files
authored
Fix: backend output scrolling. (#677)
Fixes issue where 'pretty' output is messed up if the console is not scrolled to the bottom.
1 parent e318ef2 commit 86a8e2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fpm_backend_console.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ subroutine console_update_line(console,line_no,str)
101101
! Step back to line
102102
write(stdout,'(A)',advance="no") repeat(LINE_UP,n)//LINE_RESET
103103

104-
write(stdout,'(A)') str
104+
write(stdout,'(A)',advance="no") str
105105

106106
! Step forward to end
107107
write(stdout,'(A)',advance="no") repeat(LINE_DOWN,n)//LINE_RESET

0 commit comments

Comments
 (0)