Skip to content
Browse files

Curses coordinates are the other way around

  • Loading branch information...
1 parent ac593ae commit 115a547853b8907d36970ad4c39202eee735354f @mig-hub mig-hub committed Jun 16, 2012
Showing with 7 additions and 2 deletions.
  1. +7 −2 docs/reference/Server/Curses/Curses/index.html
View
9 docs/reference/Server/Curses/Curses/index.html
@@ -149,8 +149,13 @@
</b>
<p>
<div class=slotDescription>
-Moves the cursor to column y and row x on the terminal.
- (0, 0) is at the top-left of the terminal. Returns self.
+Moves the cursor to column x and row y on the terminal.
+ (0, 0) is at the top-left of the terminal. Returns self.
+ Be careful if you are used to the C implementation of Curses
+ as the coordinates are the other way around. Here they are like
+ graphical XY coordinates, whereas in C Curses the rational is
+ more like typing text. You go down on the line you want and then
+ you move horizontally.
</div>
<a name="Curses-noCBreak"></a><b>
noCBreak

0 comments on commit 115a547

Please sign in to comment.
Something went wrong with that request. Please try again.