Coder Social home page Coder Social logo

Bug | Exiting Screen about sl HOT 3 OPEN

mtoyoda avatar mtoyoda commented on June 29, 2024 1
Bug | Exiting Screen

from sl.

Comments (3)

kugiyasan avatar kugiyasan commented on June 29, 2024

I think sl -e will do what you want.

from sl.

 avatar commented on June 29, 2024

@kugiyasan I give the parameter --help to the sl command and i can escape the train with CTRL+C
It isn't a question, it is a report.

from sl.

kugiyasan avatar kugiyasan commented on June 29, 2024

@xVoiceSyntax oops sorry I misread that!
Anyway, I went to read the code, and the issue you're pointing seems old. I tried running the sl that is in the ubuntu repo (v3.03) and I was able to reproduce your experience. This was caused by the simple argument parser that is still used. It simply checks if the argument starts with "-", and then toggle on all options for the letters after the "-". When you run "sl --help", the code sees "e" and "l" in the word "help", so the train becomes little and you can escape out of it.

In v5.03 (the latest version), the -e argument isn't accepted anymore, so your issue is solved (kinda). If you want to install the newer version of sl, clone the repo, compile it, and replace the old sl in /usr/games by the new one.

git clone https://github.com/mtoyoda/sl.git
cd sl
make
mv /usr/games/sl /usr/games/oldsl
mv sl /usr/games

from sl.

Related Issues (20)

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.