Jarkore/Feednix — pull request #6 by lejenome (2014-08-29 14:11:12+00:00)
Title: show more infos on status line, use TMPDIR for temp.txt

Hi, I made some changes to feednicx and I'm submitting them to the testing branch for review in case you find them useful

a better diff view of changes I made compared to the master branch is available in this link https://github.com/lejenome/Feednix/compare/Jarkore:master...lejenome:testing?expand=1
* add .gitignore file to ignore files made by the build process
* use /tmp dir for temp.txt file too to avoid unneeded i/o disk access

and keep .config/feednix for just config.json and for the log file
* fix removig the tmpdir of other running feednix process and just delete the tmpdir of the current process

and make tmpdir global (used the same var on the three .cpp files)
* add update_infoline(std::string info) to update info line
* improve status line to show current post origin name and title as follow:

[current action if available] [current post origin & title] [counter]

and add update_statusline(char* action, char* post, bool showCounter) to update status line and redraw it (passing NULL to action or post will keep their current values, and if showCounter is set to true, it will be updated and printed too)

demo when the 3 sections of status line are shown
![2014-08-29-135337_484x316_scrot](https://cloud.githubusercontent.com/assets/2295241/4089821/6c5f269e-2f73-11e4-8033-f33746db8437.png)