Remove all debug code - nick column feature is complete

Removed:
- All debug printtext() calls from formats.c and fe-expandos.c
- debug_nick_column setting from fe-messages.c and config_dev
- Debug includes and dependencies

Reason: Debug was causing crashes due to timestamp formatting issues
in different window contexts. Feature works correctly without debug.

Final working state:
- Nick alignment and truncation working properly
- No crashes or segfaults
- Clean production code without debug overhead

Timestamp: 2025-01-25 02:36
This commit is contained in:
kofany 2025-08-25 02:43:03 +02:00
commit 507d9dd865
4 changed files with 6 additions and 38 deletions

View file

@ -922,14 +922,7 @@ char *format_get_text_theme_charargs(THEME_REC *theme, const char *module,
text = modified_text;
nick_formatting_depth--;
/* Debug output - send to current window, not status */
if (settings_get_bool("debug_nick_column")) {
WINDOW_REC *window = dest && dest->window ? dest->window : active_win;
printtext_window(window, MSGLEVEL_CLIENTCRAP,
"DEBUG format_auto: formatnum=%d, original='%s'", formatnum, module_theme->expanded_formats[formatnum]);
printtext_window(window, MSGLEVEL_CLIENTCRAP,
"DEBUG format_auto: modified='%s'", text);
}
}
result = format_get_text_args(dest, text, args);