Search found 18 matches

by Hesk
Sat Dec 29, 2018 11:48 pm
Forum: Help Forum
Topic: Mudlet doesnt clear screen
Replies: 16
Views: 854

Re: Mudlet doesnt clear screen

Well..actually what i was searching for was : getRowCount() But it doesnt work. moveCursor doesnt work either. I move the cursor to line-number - 10 .. but the next content comming from the mud is still appended to the end, not to the cursor position. Really sad mudlet doesnt seem to be able to hand...
by Hesk
Sat Dec 29, 2018 12:10 pm
Forum: Help Forum
Topic: Mudlet doesnt clear screen
Replies: 16
Views: 854

Re: Mudlet doesnt clear screen

Nothing of those gives me the lines of the current screen. Just of the whole buffer.
I need a function which gives me the line-count which are currently displayed.
For example at my screen there are 82 lines displayed.

Is there anything like that?
by Hesk
Fri Dec 28, 2018 12:06 pm
Forum: Help Forum
Topic: Mudlet doesnt clear screen
Replies: 16
Views: 854

Re: Mudlet doesnt clear screen

Would not feel right for this mud. What i need: how many lines are on the current screen. So i can scroll them away: function clear() for i = 1, lines_on_screen, 1 do echo("\n") end end Is there some way to get the lines on the current screen? It would work with clearWindow...but then everything is ...
by Hesk
Fri Dec 28, 2018 8:48 am
Forum: Help Forum
Topic: Mudlet doesnt clear screen
Replies: 16
Views: 854

Re: Mudlet doesnt clear screen

Is is possible to clear the current screen with some combination of moveCursor and deleteLine?

My thinking:
i get the gmcp-signal from the mud that the map comes. i clear the current screen and then the map is shown

Possible?
by Hesk
Fri Dec 28, 2018 8:29 am
Forum: Help Forum
Topic: Mudlet doesnt clear screen
Replies: 16
Views: 854

Re: Mudlet doesnt clear screen

Here is the output from .dat: æ L[33m[ UNDEFINED !, omountain ][0m[37m src/room/overland#485 ÿúÉHoly._ovl (ÿð[2J[H [40m[37m[42m[33m.....[40m[37m[40m[37m [40m[37m[42m[33m....[47m[34m:::::[40m[37m[40m[37m [40m[37m[42m[33m.[47m[34m:::::[42m[33m.....[40m[37m[40m[37m [40m[37m[42m[33m..[47m[34m:[42m[33m.....
by Hesk
Thu Dec 27, 2018 12:17 pm
Forum: Help Forum
Topic: Mudlet doesnt clear screen
Replies: 16
Views: 854

Re: Mudlet doesnt clear screen

Hm..the script is raised when i log in to the mud:

"Unhandled event: 252:1:��"

But is not raised where that CLS is sent. Maybe it is suported but not executed?
by Hesk
Thu Dec 27, 2018 11:58 am
Forum: Help Forum
Topic: Mudlet doesnt clear screen
Replies: 16
Views: 854

Re: Mudlet doesnt clear screen

Can you give an example maybe?

This doesnt seem to work:

Name: telnetEventHandler
Registered Event Handlers: sysTelnetEvent

function telnetEventHandler(type, option, message)
display("Unhandled event: " .. type .. ":" .. option .. ":" .. message)
end

Thank you
by Hesk
Wed Dec 26, 2018 10:14 pm
Forum: Help Forum
Topic: Mudlet doesnt clear screen
Replies: 16
Views: 854

Mudlet doesnt clear screen

Hello,

i have a small mud which sends CLS (code: ESC+[2J) but mudlet doesnt clear the screen.
In other clients (for example cmud) its working.

Anyone can help?
Thanks