Skip to content

Commit

Permalink
Fix silly typo
Browse files Browse the repository at this point in the history
  • Loading branch information
wassup05 committed Nov 12, 2024
1 parent a8644ca commit 26b010d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/stdlib_ansi_cursor.f90
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ pure function move_down(line) result(str)
if (line <= 0) then
str = ""
else
str = esc//"["//to_string(line)//"A"
str = esc//"["//to_string(line)//"B"
end if

end function move_down
Expand All @@ -85,7 +85,7 @@ pure function move_right(line) result(str)
if (line <= 0) then
str = ""
else
str = esc//"["//to_string(line)//"A"
str = esc//"["//to_string(line)//"C"
end if

end function move_right
Expand All @@ -99,7 +99,7 @@ pure function move_left(line) result(str)
if (line <= 0) then
str = ""
else
str = esc//"["//to_string(line)//"A"
str = esc//"["//to_string(line)//"D"
end if

end function move_left
Expand Down

0 comments on commit 26b010d

Please sign in to comment.