mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Documentation: Added the 'rc.obfuscate' setting.
- The 'obfuscate' setting, if set to '1' will replace all text with 'xxx'.
This commit is contained in:
parent
c62ba68f10
commit
1b63a2dde5
6 changed files with 16 additions and 5 deletions
|
@ -269,8 +269,9 @@ std::string ViewText::render ()
|
|||
max_lines = cells[col].size ();
|
||||
|
||||
if (obfuscate)
|
||||
for (unsigned int line = 0; line < cells[col].size (); ++line)
|
||||
cells[col][line] = obfuscateText (cells[col][line]);
|
||||
if (_columns[col]->type () == "string")
|
||||
for (unsigned int line = 0; line < cells[col].size (); ++line)
|
||||
cells[col][line] = obfuscateText (cells[col][line]);
|
||||
}
|
||||
|
||||
for (unsigned int i = 0; i < max_lines; ++i)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue