summaryrefslogtreecommitdiff
path: root/src/print_file_contents.c
AgeCommit message (Collapse)Author
2020-05-01print_file_contents: Resolve tildeOrestis Floros
Fixes #350
2020-05-01Move general functions scalloc, sstrdup out of i3status.cOrestis Floros
2020-04-03use format_placeholder for file_contentFelix Buehler
2019-06-10print_file_contents: allocate enough to include \0Sam Newbold
related to #331 Previously, if max_chars was read, the null byte would be written past the end of buf.
2019-02-21Added function to print content from file (#331)Dennis Vesterlund
Added a function to print file contents to status bar without newlines. Added tests for print file contents function Added manpage entry for file contents