diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/term.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1042,7 +1042,7 @@ static int lst_getconsolecp(lua_State *L) { | |||
1042 | /*** | 1042 | /*** |
1043 | Sets the current console code page (Windows). | 1043 | Sets the current console code page (Windows). |
1044 | @function setconsolecp | 1044 | @function setconsolecp |
1045 | @tparam int cp the code page to set, use 65001 for UTF-8 | 1045 | @tparam int cp the code page to set, use `system.CODEPAGE_UTF8` (65001) for UTF-8 |
1046 | @treturn[1] bool `true` on success (always `true` on Posix systems) | 1046 | @treturn[1] bool `true` on success (always `true` on Posix systems) |
1047 | */ | 1047 | */ |
1048 | static int lst_setconsolecp(lua_State *L) { | 1048 | static int lst_setconsolecp(lua_State *L) { |
@@ -1076,7 +1076,7 @@ static int lst_getconsoleoutputcp(lua_State *L) { | |||
1076 | /*** | 1076 | /*** |
1077 | Sets the current console output code page (Windows). | 1077 | Sets the current console output code page (Windows). |
1078 | @function setconsoleoutputcp | 1078 | @function setconsoleoutputcp |
1079 | @tparam int cp the code page to set, use 65001 for UTF-8 | 1079 | @tparam int cp the code page to set, use `system.CODEPAGE_UTF8` (65001) for UTF-8 |
1080 | @treturn[1] bool `true` on success (always `true` on Posix systems) | 1080 | @treturn[1] bool `true` on success (always `true` on Posix systems) |
1081 | */ | 1081 | */ |
1082 | static int lst_setconsoleoutputcp(lua_State *L) { | 1082 | static int lst_setconsoleoutputcp(lua_State *L) { |