Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 10:34
    jcubic opened #785
  • 10:34
    jcubic labeled #785
  • 07:29
    jcubic commented #784
  • 07:28
    jcubic commented #784
  • 05:08
    S1700 commented #784
  • May 24 23:37
    dragoncoder047 commented #784
  • May 24 22:22
    jcubic commented #784
  • May 24 22:21
    jcubic commented #784
  • May 24 22:21
    jcubic commented #784
  • May 24 21:06
    S1700 commented #784
  • May 24 20:39
    S1700 commented #784
  • May 24 20:00
    jcubic commented #784
  • May 24 20:00
    jcubic labeled #784
  • May 24 20:00
    jcubic commented #784
  • May 24 19:50
    jcubic commented #782
  • May 24 19:48
    S1700 opened #784
  • May 24 16:44
    S1700 commented #782
  • May 24 16:44
    S1700 closed #782
  • May 24 15:23
    S1700 commented #782
  • May 24 07:59
    jcubic commented #782
sysc4ll
@sysc4ll_gitlab
no :( i have not. Sorry. But i can paste my code on pastebin
sysc4ll
@sysc4ll_gitlab
i understand, sorry to have disturb you, I'll be back later with a little line of code. But it seems to be a little bug. Good evening
Jakub T. Jankiewicz
@jcubic
You need to give me a way to reproduce the issue, either by creating demo online. you can use git to put your code (or gitlab looking at your username)
sysc4ll
@sysc4ll_gitlab
thanks
Jakub T. Jankiewicz
@jcubic
I also need to know what browser and system your using and which version of the library
sysc4ll
@sysc4ll_gitlab
I'll be back later with all of that, thanks again
sysc4ll
@sysc4ll_gitlab
hi! firefox: 94.0.1 your lib: 2.29.4 (npm version)
I'm on 4G in a hospital, i can't route port to my laptop from my smartphone
but i can upload my code in a tar.gz or zip
in private please
Jakub T. Jankiewicz
@jcubic
@sysc4ll_gitlab you can send it my email jcubic@onet.pl
sysc4ll
@sysc4ll_gitlab
thank you :)
sysc4ll
@sysc4ll_gitlab
it's send
Jakub T. Jankiewicz
@jcubic
Do you have any instruction how to run or build your app?
main package.json file is empty, just {}
sysc4ll
@sysc4ll_gitlab
for dependencies : in theme/sysc4ll : npm install
for run hugo (with sass version) in the root folder: hugo server --theme sysc4ll --disableFastRender
Jakub T. Jankiewicz
@jcubic
if you create a project for someone you should at least write README on how to run it. I don't have a crystal ball.
sysc4ll
@sysc4ll_gitlab
yes, ok, sorry and thanks
it's just for me, but i take your help
Jakub T. Jankiewicz
@jcubic
and do I need to install hugo globally? What is the name of the package? hugo?
sysc4ll
@sysc4ll_gitlab
on ubuntu and i suppose on debian : sudo apt install hugo
Jakub T. Jankiewicz
@jcubic
It is a bug, I'm not sure why it's happening will need to investiage
Jakub T. Jankiewicz
@jcubic
it may be a bug in the browser, that is caused by your display: flex !important on terminal object.
sysc4ll
@sysc4ll_gitlab
ok :) thank you very much.
in chrome it's the same
sysc4ll
@sysc4ll_gitlab
yes. display: block !important and it's good :)
thank you very much again, good luck, and good day, bye
Kira
@Kira272921
hi how can i change the prompt's color ?
as well as it's style ?
@jcubic :sweat_smile:
Jakub T. Jankiewicz
@jcubic
@Kira272921 You can use Terminal formatting, or if you prefer XML syntax you can use xml_formatting file. Changinng prompt style works the same as for echo
Maybe I should add specific example for prompt into a wiki, because it may be not obvious that you can use the same things as for echo
Kira
@Kira272921

@Kira272921 You can use Terminal formatting, or if you prefer XML syntax you can use xml_formatting file. Changinng prompt style works the same as for echo

Thanks!!

Maybe I should add specific example for prompt into a wiki, because it may be not obvious that you can use the same things as for echo

It would it really helpful, if you add an example how to change the style and color for prompt in the wiki :heart:

Kira
@Kira272921
image.png
@jcubic Is it possible to change the style and color of the command name and the it's args ?
I have this portfolio of mine, which is kinda terminal based themed (check the above image)
the styling of the command name and it's args aren't matching up with the one's in the interactive console page, if there is a way to change the style please do let me know
image.png
Jakub T. Jankiewicz
@jcubic
@Kira272921 You need custom formatter for this
something like this
$.terminal.new_formatter(function(string, position) {
    return string.replace(/(\s*\S+)(\s?.*)/, function(_, name, args) {
        return '[[;red;]' + name + '][[;blue;]' + args + ']';
    })
});
Jakub T. Jankiewicz
@jcubic
replace red and blue with your colors
The position is needed when you change the length of the string, if you just wrap with formatting you don't ned to use it.
Kira
@Kira272921
$.terminal.new_formatter(function(string, position) {
    return string.replace(/(\s*\S+)(\s?.*)/, function(_, name, args) {
        return '[[;red;]' + name + '][[;blue;]' + args + ']';
    })
});
Hey thanks!!
It is working like a charm
Except for this thing :(
image.png