瀏覽代碼

* Clarify cucul_get_attr() behaviour in the cucul_set_attr() documentation.

tags/v0.99.beta14
Sam Hocevar sam 19 年之前
父節點
當前提交
74babecc70
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. +2
    -0
      cucul/colour.c

+ 2
- 0
cucul/colour.c 查看文件

@@ -74,6 +74,8 @@ unsigned long int cucul_get_attr(cucul_canvas_t *cv, int x, int y)
* \e CUCUL_BLINK, \e CUCUL_BOLD and \e CUCUL_ITALICS), in which case
* setting the attribute does not modify the current colour information.
*
* To retrieve the current attribute value, use cucul_get_attr(-1,-1).
*
* If an error occurs, -1 is returned and \b errno is set accordingly:
* - \c EINVAL The attribute value is out of the 32-bit range.
*


Loading…
取消
儲存