Skip to content

Commit

Permalink
wiki/BBSRubySyntax.md: Add comments about partially implemented API f…
Browse files Browse the repository at this point in the history
…unctions
  • Loading branch information
IepIweidieng committed Feb 26, 2020
1 parent 5bafd19 commit f7be8c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wiki/BBSRubySyntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ TOC標籤 ||
移動 ||
------------------------ | -------------------------------------------------------
_`bbs.getyx()`_ |傳回游標目前位置 `(y, x)``y`/`x``(0,0)`表左上角
 | 會以 `{"y"=>y, "x"=>x}` 的形式傳回
_`bbs.getmaxyx()`_ |傳回目前螢幕大小 `(my,mx)`, 實際可移動範圍到 `(my-1,mx-1)`
 | 會以 `{"y"=>y, "x"=>x}` 的形式傳回
`bbs.move(y,x)` |移動到 `(y,x)` (也就是 ANSI 的 `*[x;yH`)
`bbs.moverel(dy,dx)` |移動到游標目前位置加上 `(dy,dx)`

Expand Down

0 comments on commit f7be8c8

Please sign in to comment.