Skip to content

Commit b1058dc

Browse files
committed
render properly on 80x24 terminal
1 parent db2758a commit b1058dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/main.f90

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ program donut
4545
enddo
4646

4747

48-
cols = 80
48+
cols = 79
4949
rows = 22
5050
L = rows*cols
5151

@@ -90,8 +90,8 @@ program donut
9090
write(stdout, "(a)", advance="no") LF
9191

9292
do k=0, rows-2
93-
print '(81a)', screen(k*cols:k*cols+cols)
94-
if(dump) write(u, "(81a)") screen(k*cols:k*cols+cols)
93+
print '(80a)', screen(k*cols:k*cols+cols)
94+
if(dump) write(u, "(80a)") screen(k*cols:k*cols+cols)
9595
enddo
9696

9797
a = a + 0.04

0 commit comments

Comments
 (0)