Skip to content

Commit 26b010d

Browse files
committed
Fix silly typo
1 parent a8644ca commit 26b010d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/stdlib_ansi_cursor.f90

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ pure function move_down(line) result(str)
7171
if (line <= 0) then
7272
str = ""
7373
else
74-
str = esc//"["//to_string(line)//"A"
74+
str = esc//"["//to_string(line)//"B"
7575
end if
7676

7777
end function move_down
@@ -85,7 +85,7 @@ pure function move_right(line) result(str)
8585
if (line <= 0) then
8686
str = ""
8787
else
88-
str = esc//"["//to_string(line)//"A"
88+
str = esc//"["//to_string(line)//"C"
8989
end if
9090

9191
end function move_right
@@ -99,7 +99,7 @@ pure function move_left(line) result(str)
9999
if (line <= 0) then
100100
str = ""
101101
else
102-
str = esc//"["//to_string(line)//"A"
102+
str = esc//"["//to_string(line)//"D"
103103
end if
104104

105105
end function move_left

0 commit comments

Comments
 (0)