Skip to content

Commit 6cd53f7

Browse files
committed
Fix: for consistent alignment of backend console output.
1 parent e8c0854 commit 6cd53f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/fpm_backend_console.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,12 @@ subroutine console_update_line(console,line_no,str)
9696

9797
!$omp critical
9898

99-
n = console%n_line - line_no !+ 1 !+ 1
99+
n = console%n_line - line_no
100100

101101
! Step back to line
102102
write(stdout,'(A)',advance="no") repeat(LINE_UP,n)//LINE_RESET
103103

104-
write(stdout,*) str
104+
write(stdout,'(A)') str
105105

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

0 commit comments

Comments
 (0)