Comments (5)
I can't get it to work in the repeat module since I don't know how to stop the line from sending from within that module, but I can make this alias in my world module:
r'newline': '',
And that lets me send a blank line to the mud! Still, I'd like to figure out how to fix it in the repeat module instead.
from pycat.
Come to think of it, is there anyway to suppress the sending of an input line? Even if so, can that method be called from inside the repeat module?
from pycat.
Whoa, someone actually uses this thing?
I have usually sent a single space, it's usually good enough for pagers.
What kind of behavior would you propose? The whole reason for having the repeat module is to transform empty lines into previous commands. What would you like it to do instead?
from pycat.
Yup! A Python only mud client has been on my wishlist, literally, for years!
Someone's actually forked you, and their like 60 commits ahead. I haven't tried the fork yet, but it lives here:
https://github.com/MongooseMoo/pycat
As for the issue...
I can't just send a space because the input line is getting trimmed somewhere. Sending whitespace shows up as a blank line, which triggers the repeat module.
Requested functionality
I'd like to be able to bypass the repeat module and send a new line. Maybe a control sequence or maybe not trimming whitespace only lines or an input that the repeat module sees and converts to a newline?
While I Have Your Attention
I'd love some time to chat with you about the project. Maybe in Discord or something similar. If you're no longer interested in pycat, I can fork it and resume active development, but a chat with the author would save me lots of trial and error. Better yet, maybe you'll feel like picking it back up ;)
from pycat.
Check out that PR - does it do what you want?
As for chatting - why not. I don't have a Discord account, though. I'll just email you instead.
from pycat.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pycat.