mirror of
https://github.com/open-goal/jak-project
synced 2026-08-18 05:48:28 -04:00
goalc/repl: cleanup of goalc/REPL code and some QoL improvements (#2104)
- lets you split up your `startup.gc` file into two sections - one that runs on initial startup / reloads - the other that runs when you listen to a target - allows for customization of the keybinds added a month or so ago - removes a useless flag (--startup-cmd) and marks others for deprecation. - added another help prompt that lists all the keybinds and what they do Co-authored-by: water <awaterford111445@gmail.com>
This commit is contained in:
@@ -311,11 +311,11 @@ void OfflineTestThreadManager::print_current_test_status(const OfflineTestConfig
|
||||
fmt::print("\x1b[{}A", lines_to_clear); // move n lines up
|
||||
fmt::print("\e[?25l"); // hide the cursor
|
||||
int threads_shown = 0;
|
||||
for (int i = 0; i < statuses.size() && threads_shown < threads_to_display; i++) {
|
||||
for (int i = 0; i < (int)statuses.size() && threads_shown < threads_to_display; i++) {
|
||||
const auto& status = statuses.at(i);
|
||||
// Skip completed threads if there are potential in-progress ones to show
|
||||
if (threads_hidden != 0 && !status->in_progress() &&
|
||||
(statuses.size() - i) > threads_to_display) {
|
||||
((int)statuses.size() - i) > threads_to_display) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user