-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't copy-paste code without getting indent/line breaks errors and tons of blank spaces messing around the code #13
Comments
Seems that this is caused by rich text, you may try copy and paste as plaintext to see if it solves the problem. |
I've update the code to add |
I just tried it and looks fine but still has tons of blank spaces surrounding the code. Also, paste it as plaintext is not available for some editors. I had to open it in Writer Document in Libre Office to be able to paste it as The idea of saving it is great though! Thanks, @evilpan . You are not so evil after all ;) |
I just git pulled but i don't get how to use .save. This is what I do:
I don't see the
|
Also tried this:
|
Seems you are not using the latest code, are you sure the |
Sorry, i thought I was git pulling but didn't notice I was getting an error back, so I wasn't really pulling anything. Anyway, I fixed the error and git pulled your latest commits but now it fails with Now, since i deleted the OpenAi key from the config (so it can it read from the environment) it fails with :
|
Anyway! I can save the chat!
Now it's a matter of just parsing the json file. I'm gonna ask it to write a python script to parse it and get the python script from it. Oh wait. :/ |
Hi! Now we can save/load from both JSON and Markdown file, using the following command:
And we use the md (markdown) format by default now. See: 0777a45 |
Ah, amazing! Now the tool is super useful. Thanks so much! |
When presenting ChatGPT a piece of code to refactor it, GPT answers back the refactored code inside a black colored block. It looks fine but If i were to copy the code and paste it in a text editor or IDE, it will look something like this:
Not only it breaks it down in three rows when it should be only
onetwo but also it will be filled with blank spaces everywhere. Editing/cleaning it takes a lot of time.EDIT:
Using Gnome terminal version 0.54.2 +GNUTLS
The text was updated successfully, but these errors were encountered: