-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the list of messages to be displayed in terminal due to position …
…error (#1150) When executing get_logs, the use of `<`instead of `<=` prevents the last message to be displayed in the terminal (this is partially described in issue #1144 ) Besides, the calculation of position in `do_goals` is moved to `get_goals` because it is redundant with the ones in `get_logs`. Note one could as well remove this code from `get_logs` and keep it in `do_goals` for efficiency. However, it is safer and **probably** better to call it in the functions actually using the position (namely `get_logs` and `get_goals`)
- Loading branch information
Showing
1 changed file
with
20 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters