summary refs log tree commit diff stats
path: root/compiler/treetab.nim
diff options
context:
space:
mode:
authorKaushal Modi <kaushal.modi@gmail.com>2018-06-15 12:41:25 -0400
committerKaushal Modi <kaushal.modi@gmail.com>2018-06-18 09:09:23 -0400
commitabbf9ba9f74fa2415efcad4d1792d68527eba09d (patch)
treefcaecd8fa9b7acc55dc934caa321c2a181317879 /compiler/treetab.nim
parent3b5b3deecd8d49515dfa4836c452647c7ab7a506 (diff)
downloadNim-abbf9ba9f74fa2415efcad4d1792d68527eba09d.tar.gz
Convert styledWriteLine and styledEcho to templates
This also fixes a bug in the styledWriteLine behavior where the background color
leaked onto the next newline if that command did not end with resetStyle.

Now it is not necessary to end styledWriteLine calls that set BackgroundColor to
end in resetStyle.
Diffstat (limited to 'compiler/treetab.nim')
0 files changed, 0 insertions, 0 deletions
='#n107'>107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142