diff options
| author | ame <[email protected]> | 2023-12-24 20:42:53 -0600 |
|---|---|---|
| committer | ame <[email protected]> | 2023-12-24 20:42:53 -0600 |
| commit | f6194080490885a0c35d9916a03cc090fd64b76e (patch) | |
| tree | 71c5d25f82a74b5aea439bb0fa0b53dcde4b62a9 /src/io.c | |
| parent | 697c9bdd10e845d27018d83afb7828b6c7d82605 (diff) | |
no newline option
Diffstat (limited to 'src/io.c')
| -rw-r--r-- | src/io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -95,7 +95,7 @@ void i_pprint(lua_State* L, int indent){ case LUA_TTABLE: print_indentation(indent); if(indent >= _max_depth && _max_depth >= 0) {printf("{"color_gray"..."color_reset"}"); break;} - int skip = i_len(L,last_idx) < _start_nl_at; + int skip = i_len(L,last_idx) < _start_nl_at || _collapse_all; printf("{"); if(!skip) printf("\n"); lua_pushnil(L); |
