Skip to content

Commit

Permalink
bandwidth fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DanHert committed Sep 8, 2023
1 parent 0b02988 commit 2e6db84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ std::optional<std::tuple<int, int>> Menu::iterate(int key, bool refresh) {

std::optional<std::tuple<int, int>> ret_val = std::nullopt;

wclear(win_); // update the terminal screen
wattron(win_, A_BOLD);

if (key == 'q' || key == KEY_ESC) {
Expand Down Expand Up @@ -120,7 +119,6 @@ std::optional<std::tuple<int, int>> Menu::iterate(std::vector<std::string>& text

std::optional<std::tuple<int, int>> ret_val = std::nullopt;

wclear(win_); // update the terminal screen
wattron(win_, A_BOLD);

if (key == 'q' || key == KEY_ESC) {
Expand Down
4 changes: 2 additions & 2 deletions src/status.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2811,8 +2811,8 @@ void Status::topLineHandler(WINDOW* win) {
mvwprintw(win, 0, 10, " %s %s %s ", uav_name.c_str(), uav_type.c_str(), nato_name.c_str());

if (!mini_) {
printLimitedDouble(win, 0, 94, "%3.1f", tmp_time, 100);
printLimitedDouble(win, 0, 90, "%3.1f", tmp_short_time, 100);
/* printLimitedDouble(win, 0, 94, "%3.1f", tmp_time, 100); */
/* printLimitedDouble(win, 0, 90, "%3.1f", tmp_short_time, 100); */

if (collision_avoidance_enabled) {
if (avoiding_collision_) {
Expand Down

0 comments on commit 2e6db84

Please sign in to comment.