WIP: apps/ircc: fix text formatting issues (#376) #392
Draft
SumitKumar-17
wants to merge 3 commits from
SumitKumar-17/kolibrios:fix/376-irc-text-formatting into main
pull from: SumitKumar-17/kolibrios:fix/376-irc-text-formatting
merge into: KolibriOS:main
KolibriOS:main
KolibriOS:docpack-rework
KolibriOS:animage-menu-fix
KolibriOS:kfm-update
KolibriOS:chore/update-cmm_apps
KolibriOS:asm-xml-lib
KolibriOS:cpu-task-manager
KolibriOS:opendial-update
KolibriOS:kernel-socket-ring-sparse
KolibriOS:kernel-net-tsc-seed
KolibriOS:kernel-tcp-sender-fixes
KolibriOS:nvme
KolibriOS:kernel-unload-driver
KolibriOS:net-arp-nowait
KolibriOS:tcp-close-rst
KolibriOS:kernel-tcp-send-after-close
KolibriOS:kernel-tcp-rexmt-timer
KolibriOS:drivers-usbrndis-throughput
KolibriOS:kernel-arp-remove-index
KolibriOS:usbstor-media-poll
KolibriOS:setup-rework
KolibriOS:sweetbread-meos-copyrights
KolibriOS:kernel-tcp-reassembly-queue
KolibriOS:iconv-cp866-dash
KolibriOS:vesa20-putimage-runs
KolibriOS:bcm57xx
KolibriOS:open-fix-587
KolibriOS:drivers-include-linux49-backports
KolibriOS:MarvellYukon-II
KolibriOS:MarvellYukon-I
KolibriOS:egor00f-patch-1
KolibriOS:rdsave-rewrite
KolibriOS:fix_602
KolibriOS:kernel-tcp-socket-list-locking
KolibriOS:network/getsockname
KolibriOS:rewrite_ide_drv
KolibriOS:apps/table-msvc-to-tcc
KolibriOS:netsurf-4
KolibriOS:vidmode-s3ide-clgd54xx-kms-etc
KolibriOS:updf-1.5
KolibriOS:pr-fs-unhardcode
KolibriOS:kbd-busoff
KolibriOS:webview-4
KolibriOS:workflow-fuse
KolibriOS:add-license-file-header-to-guide
KolibriOS:shell-improve-cpuid
KolibriOS:qrcodegen
KolibriOS:ci/update
KolibriOS:laser-tank-fix-win-height
KolibriOS:improvement/commit-and-branch-styles
KolibriOS:docs/libs
3
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
bdd00201c8 |
apps/ircc: drop color handling from text_nextline (line scanner only)
text_insert_newlines already inserts soft newlines into the buffer, so text_nextline normally just finds them; its column-count path only fires on a spaceless line wider than the textbox. Handling mIRC colors there - especially in the backward scroll scan - added complexity for a negligible edge and desynced forward/backward width. Color skipping stays in text_insert_newlines (wrapping) and draw_channel_text (render). |
||
|
|
9ebd6fa97d |
apps/ircc: refactor color-arg skipping, fix width/render desync
- Factor duplicated .skip_color from text_insert_newlines and text_nextline into a shared skip_mirc_color_args matching the renderer's dec_to_esi byte span. - Guard text_nextline backward scans (DF check) so forward-parsing \x03 args doesn't corrupt esi during scroll-up. - Document the silent jmp .line that stops .no_colors from eating the byte after \x03N,N. - Document the .color_reset branch for bare \x03. |
||
|
|
262f3adb84 |
ircc: fix text formatting issues (#376)
fix leading whitespaces being trimmed ,formatting clear chars ignored, bold/italic/other control bytes counted toward line width in text_insert_newlines and text_nextline, causing incorrect wrapping, leading spaces stripped from PRIVMSG content |