Code Monkey home page Code Monkey logo

dcss.py's People

Contributors

nkhoit avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

backslashecho

dcss.py's Issues

Failed Login not handled for RemoteConnection

Right now, if you try to login to a remoteConnection with an invalid username/pw, it behaves poorly.

I'm not sure exactly what happens, but you end up with a blank screen and no real feedback. The validConnection parameter is still true though.

First screen on LocalConnection not displaying properly

Right now, all of the lines are pushed up by one, beyond what they should be. This is likely due certain escape sequences at the end of the screen input, potentially the \x1b[*X command (which deletes characters) or manually moving the cursor beyond the edge of the terminal's size.

Also, the line which stays "(options read from {path})" will be partially overwritten if part extends onto the next line. not sure why this is happening.

Add logging

We should be logging a lot more stuff. Most notably, we should have a verbose log which contains every communication from the server, and also contains a list of 'unsupported' escape sequences that are being ignored by TerminalBuffer

Client fails to exit gracefully

When quitting a remote game, the client just closes the connection. If a user manually enters the commands to exit, the connection doesn't recognize when it's been fully terminated, and will eventually throw an exception (after the user kills the ssh session, if they send another command, the ssh will just error, instead of the connection recognizing that its been closed already)

When quitting a local game, the client just kills the program. If a user manually saves and quits, pexpect will throw an unhandled EOF error.

LocalConnection screen size bug

Not entirely sure the cause of this bug, but it seems that if the crawl instance for a local copy thinks the window size is larger than standard 80x24, it starts doing things that makes the terminal buffer fail to properly keep track of anything (in my testing, it results in a totally empty buffer)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.