Command line config file download util#622
Conversation
…status returns -3
Now prints to terminal. Needs fix for downloading as config download …
…y to browse truncated strings using left and right arrow keys.
…wnload correct files.
…enu needs to be implemented, to show the user which buttons to use to navigate this tool. Fixed a fatal mistake where local copy of ttyProgressDialog was being used again for config dl despite going out of scope.
merge updates
…n folder called 'fetchconfig'. Finally, added program to master Makefile - meaning the program can be built with the rest of the Gimx suite from the root folder.
|
This program is ready, when you are. |
|
Thanks! Please fix the remaining compilation warnings: https://travis-ci.com/matlo/GIMX/builds/122616488 |
|
Sure |
|
Okay, all compiler warnings have now vanished for my program. Enjoy! |
|
Thanks for taking the time to give feedback - means a lot to a beginner! I'll start working on those changes. If you like, I could also pull all the code I copied directly from gimx-launcher into a shared library. |
| int callOptions(struct option* longOptions, int optionCharacter, int optionIndex) | ||
| { | ||
| int result = 0; | ||
| int result = -1; |
There was a problem hiding this comment.
parseArgs now stops on first "non-flag" option.
|
I tested the manual download. In my opinion page up and page down should be inverted. Page down is usually used to go forward, and page up backward. |
|
Okay |
|
On Ubuntu with a terminal size of 46x13, app crashes when displaying page 10. |
|
I believe this is a rounding error, there should have been 9 pages. While cleaning up my code I noticed how badly it deals with corner cases when lines overflow the screen width. In spare time I've been writing a new mapping system, which is a lot easier to use. It will be fixed soon. I apologise. :) |
…e system for handling input text. This means it can handle almost any custom terminal size. Also removed accidentally included binary file.
Updated the TUI code to use less memory, and added a help menu. Just need to implement autoConfig() functionality. Also thinking of changing the name of the program and moving it under 'utils' directory.