Commit graph

5 commits

Author SHA1 Message Date
kofany
cf9af2298e Fix nick character counting: Add missing underscore and pipe chars
- Add missing '_' (underscore) and '|' (pipe) to count_nick_chars()
- Now matches isnickchar definition from fe-messages.c
- Fixes issue where nicks like 'big_Fat_boy' weren't truncated properly
- Nick counting now includes: alphanumeric + `-_[]{}|\^

Test case: 'big_Fat_boy' (11 chars) should now be truncated to 'big_Fat_b>>'
with width=10

Timestamp: 2025-01-25 00:08
2025-08-25 00:12:16 +02:00
kofany
f69e40e745 Fix nick truncation: Add nicktrunc expando and separate logic
- Add expando_nicktrunc() that returns truncated nick with >> indicator
- Keep expando_nickalign() for padding only (no nick modification)
- Update theme to use $nicktrunc instead of $0 for nick display
- Fix logic: nickalign returns spaces, nicktrunc returns truncated nick
- This resolves issue where long nicks weren't being truncated

Timestamp: 2025-01-24 23:50
2025-08-25 00:01:39 +02:00
kofany
1fa2f42b6f [2025-08-24 21:35:00] PRZYCINANIE NICKÓW - dodano >> dla długich nicków, build OK 2025-08-24 23:28:05 +02:00
kofany
9f0d05e573 [2025-08-24 21:25:00] POPRAWKA - nickalign zamiast nickaligned, zwraca tylko padding, działa jak nm2 2025-08-24 22:36:04 +02:00
kofany
4f8ef0ccb7 [2025-08-24 15:27:35] Inicjalizacja pracy z augment code po oczyszczeniu repo 2025-08-24 15:27:35 +02:00