From f6194080490885a0c35d9916a03cc090fd64b76e Mon Sep 17 00:00:00 2001 From: ame Date: Sun, 24 Dec 2023 20:42:53 -0600 Subject: no newline option --- src/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/io.c') diff --git a/src/io.c b/src/io.c index 70771b6..ed59dfa 100644 --- a/src/io.c +++ b/src/io.c @@ -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); -- cgit v1.2.3