diff options
| author | ame <[email protected]> | 2023-12-30 14:43:50 -0600 |
|---|---|---|
| committer | ame <[email protected]> | 2023-12-30 14:43:50 -0600 |
| commit | 54b05b7f5250b3c468aae62b4ee3cd0a8a669b81 (patch) | |
| tree | d0c8de4967205a9d91d538c1f90aac4cbc4b02f5 /src/io.c | |
| parent | 22bb79562a0f876c96d78f913a9ad221698354e6 (diff) | |
better pprint
Diffstat (limited to 'src/io.c')
| -rw-r--r-- | src/io.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -111,6 +111,8 @@ void i_pprint(lua_State* L, int indent, int skip_indent){ if(lua_type(L,-2) == LUA_TSTRING){ if(!skip) print_indentation(indent); printf(" '%s'"color_gray": "color_reset, lua_tostring(L,-2)); + } else { + if(!skip) print_indentation(indent + 1); } i_pprint(L,indent+1,1); printf(","); |
