Compare commits

..

4 commits

Author SHA1 Message Date
y4my4my4m
e4d8091ff9
Merge ad7489e322 into e34e75626f 2024-12-23 09:48:39 +09:00
Gunch
e34e75626f
Merge pull request #166 from mknos/kdisplay_dowhile
Some checks failed
Build ZealOS ISOs / Build (push) Has been cancelled
convert tab case in RawPutChar() to do-while loop
2024-12-19 23:05:40 -05:00
Michael Mikonos
dba0d17880 revert permission 2024-12-19 10:31:58 +08:00
Michael Mikonos
742b2fad72 tab case in RawPutChar() can also be converted to do-while 2024-12-19 10:30:58 +08:00

View file

@ -35,9 +35,9 @@ See also $LK,"GrUpdateScreen",A="MN:GrUpdateScreen"$().
} }
if (ch == '\t') if (ch == '\t')
{ {
RawPutChar(CH_SPACE); do
while (text.raw_col & 3)
RawPutChar(CH_SPACE); RawPutChar(CH_SPACE);
while (text.raw_col & 3);
} }
else if (ch == CH_BACKSPACE) else if (ch == CH_BACKSPACE)
{ {