Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 23 10:50
    jcubic commented #643
  • Oct 23 10:50
    jcubic commented #643
  • Oct 23 10:44
    jcubic commented #643
  • Oct 19 23:09
  • Oct 19 08:16
  • Oct 19 07:54
  • Oct 17 16:35
    jcubic commented #701
  • Oct 17 16:34
    jcubic commented #701
  • Oct 17 16:33
    jcubic commented #701
  • Oct 17 16:30
    jcubic commented #701
  • Oct 17 16:29
    jcubic commented #701
  • Oct 17 16:28
    jcubic commented #701
  • Oct 17 16:12
    himanshu007-creator commented #701
  • Oct 17 08:44
    jcubic commented #701
  • Oct 17 08:44
    jcubic commented #701
  • Oct 17 08:43
    jcubic commented #701
  • Oct 17 08:39
    jcubic closed #702
  • Oct 17 08:39
    jcubic commented #702
  • Oct 17 08:27
    mdansar786 opened #702
jagg3127-alt
@jagg3127-alt
ummm there is a bug when i replace my old logs function with this one it breaks the login
Jakub T. Jankiewicz
@jcubic
First question What error you have? Can you share the code, commit to git?
jagg3127-alt
@jagg3127-alt
yeah i will
its on github now
Jakub T. Jankiewicz
@jcubic
please fix the directories it's hard to navigate in terminal jcubic-terminal-escapeco/jcubic-terminal-escapeco-main/escapeco-all
jagg3127-alt
@jagg3127-alt
give me a second
Jakub T. Jankiewicz
@jcubic
remove those directorys in terminal use git mv jcubic-terminal-escapeco/jcubic-terminal-escapeco-main/escapeco-all/* .
and commit
You didn't made any changes. So what is not woking if you didn't added any code that I've posted here?
jagg3127-alt
@jagg3127-alt
goodness me this thing messed me up ill be right back
jagg3127-alt
@jagg3127-alt
fixed github its now on branch master though
im gonna have to go so cya
Jakub T. Jankiewicz
@jcubic
You have logs two times in PHP and you deleted the login function. Just please look what you're doing
That's why login doesn't work, because you've deleted it
Jakub T. Jankiewicz
@jcubic
You also deleted all my changes
Jakub T. Jankiewicz
@jcubic
I've created a PR please don't remove my code jagg3127-alt/jcubic-terminal-escapeco#3
jagg3127-alt
@jagg3127-alt
oops sorry im going to lable these thing next time
Jakob Papirov
@JakobPapirov
Hey Jakub, I have a question about the height of the terminals
if I set the height to a fixed px, then I get a scrollbar on the side. That's what I want. However how should I approach thing from a responsive design point of view?
should I focus on the the parent <div>?
Jakub T. Jankiewicz
@jcubic
If you want responsive terminal best way to rely on vh units or on % but then all parents need to have defined height (this is how CSS works)
Jakob Papirov
@JakobPapirov
also, I haven't been able to find (yet) how I can change the bg color of a terminal, only text color
Jakub T. Jankiewicz
@jcubic
to change the colors use custom properties --color and --background
Jakob Papirov
@JakobPapirov
I tried using vh in terminal settings but it didn't stay in specified with. I hadn't specified the parent div though
gotcha
hmm,
Jakub T. Jankiewicz
@jcubic
try using CSS I think option only works with number
Jakob Papirov
@JakobPapirov
I'll try tomorrow to experiment with different breakpoints on the parent div and using vh
I'm using tailwindcss
I've decided to use it for this project
I'm still learning, but am using it for another project of mine. it has as in bootstrap sm: xl:
Jakub T. Jankiewicz
@jcubic
Here is example of vh and colors https://codepen.io/jcubic/pen/xReWxJ
Jakob Papirov
@JakobPapirov
cool tnx
on my todo list is to figure out how to generate ascii like that. I've seen something about it in the docs.
I see now that you specified the height in the css, not in the js file
Jakub T. Jankiewicz
@jcubic
The ASCII that is showing by default was created by hand. But you can use figlet library generate different text using ASCII fonts
Jakob Papirov
@JakobPapirov
oh
cool
yes read something abt the figlet lib
Jakub T. Jankiewicz
@jcubic
Jakob Papirov
@JakobPapirov
I've been using your example from the docs :
{
                greetings: `Welcome to NetSide! You'll find the repo @ [[!;i;black]https://github.com/JakobPapirov/NetSide]\n
Available commands are:
[[b;green;black]login]
[[b;green;black]login help]
[[b;green;black]login user]
[[b;green;black]credits]\n`,
                name: 'playArea',
                height: 600,
                width: '100%',
                prompt: '>>> '
            }
as part of the initialisation of a terminal
I'll be back tomorrow :)
danishjmi01
@danishjmi01
Hello All, I have an web based terminal application which uses jquery.terminal-2.19.2. When I enter some command on terminal repeatedly in fast manner then the terminal becomes sluggish. This issue was not there when we were using jquery-0.10.0 . Has anyone faced the same before? Any solutions?
Jakub T. Jankiewicz
@jcubic
not sure about 2.19.2 but recently there was error that prevent repeated echo messages to be ignored because of cache jcubic/jquery.terminal#672
try the latest version of the library to see if the issue is still there
Jakob Papirov
@JakobPapirov
Hi @jcubic I'm back! How are you?
danishjmi01
@danishjmi01

not sure about 2.19.2 but recently there was error that prevent repeated echo messages to be ignored because of cache jcubic/jquery.terminal#672

I have tried the latest version 2.27.1 but the issue was still there. Thanks

Jakub T. Jankiewicz
@jcubic
@danishjmi01 I have no idea, I don't use the library for a long period time. How long does it take to make it slow? How much content do you print on the terminal? The cache was added in 2.12.0, can you check 2.11.1?
I can create some testing code to see how terminal behave on longer use. It may be that the memory usage is too big and the browser don't handle it, because of cache. This is the only thing I can think of.