Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Insert code to terminal problem with ^[ #682

Closed
2 tasks
yiranweishen opened this issue Apr 17, 2019 · 12 comments
Closed
2 tasks

Insert code to terminal problem with ^[ #682

yiranweishen opened this issue Apr 17, 2019 · 12 comments

Comments

@yiranweishen
Copy link

yiranweishen commented Apr 17, 2019

  • I have reset Atom to defaults prior to submitting report.
  • I have not reset Atom to defaults prior to submitting report.

Description

Have problems in text-editor and the Insert-text editor.

Steps to reproduce

1.keymap bind
'atom-text-editor':
'ctrl-enter': 'platformio-ide-terminal:insert-selected-text'
2.write code 'a=5'
3.send it to the terminal

Expected behavior:
a=5

Actual behavior:
a=5
^[

Reproduces how often:
1000% percent
atomproblem

Versions

> atom --version
2.1.3
> apm --version
1.36.0

OS name and version: Windows 10
Platformio-ide-terminal version: 2.9.1

Additional Information

All I send with ‘^[" whatever I send.

@platformio platformio deleted a comment from yiranweishen Apr 17, 2019
@the-j0k3r
Copy link
Collaborator

Thank you for reaching out with this bug report.

You are getting this reply because the issue template was not filled in its entirety, overwritten, or some portions were partially left out.

This issue template contains important information to be able to provide any kind of support, and will help us triage or reproduce the issue. Without reproduction no workaround or fix can normally be derived...

Copy and paste the template located at https://raw.githubusercontent.com/platformio/platformio-atom-ide-terminal/master/.github/ISSUE_TEMPLATE.md and fill in all fields. Logs / Errors / other information should be added at the bottom in the Notes portion of the issue template.

Tickets without this information may be closed and labeled invalid at our discretion.

Thank you for your understanding.

@the-j0k3r
Copy link
Collaborator

Youre clearly having trouble here, re-posting the same info is not OK., please edit your post like so

generic

Then complete all sections and full steps including screenshots and what files youre editing etc.

Thank you for your understanding.

@the-j0k3r
Copy link
Collaborator

Also works fine here.

generic

@yiranweishen
Copy link
Author

yiranweishen commented Apr 17, 2019 via email

@the-j0k3r
Copy link
Collaborator

Hello again, Ive no idea what exactly you are doing, thereis not enough information provided in order for me to try to duplicate the issue exactly, Ive tried, it works here, and without knowing specifics which you omitted doesn't help me to help you.

Fell free to edit your main post and add more information, and at that time, Ill have another look. But at this time, there's nothing further I can contribute.

Thank you for your understanding.

@yiranweishen
Copy link
Author

Hello again, Ive no idea what exactly you are doing, thereis not enough information provided in order for me to try to duplicate the issue exactly, Ive tried, it works here, and without knowing specifics which you omitted doesn't help me to help you.

Fell free to edit your main post and add more information, and at that time, Ill have another look. But at this time, there's nothing further I can contribute.

Thank you for your understanding.

problems
My problem just act like this.

@yiranweishen
Copy link
Author

Hello again, Ive no idea what exactly you are doing, thereis not enough information provided in order for me to try to duplicate the issue exactly, Ive tried, it works here, and without knowing specifics which you omitted doesn't help me to help you.

Fell free to edit your main post and add more information, and at that time, Ill have another look. But at this time, there's nothing further I can contribute.

Thank you for your understanding.

my shelloveride is "E:\Software\Anaconda3\Scripts\ipython.exe"

@yiranweishen yiranweishen reopened this Apr 17, 2019
@yiranweishen
Copy link
Author

Also works fine here.

generic

when I

@yiranweishen
Copy link
Author

Hello again, Ive no idea what exactly you are doing, thereis not enough information provided in order for me to try to duplicate the issue exactly, Ive tried, it works here, and without knowing specifics which you omitted doesn't help me to help you.

Fell free to edit your main post and add more information, and at that time, Ill have another look. But at this time, there's nothing further I can contribute.

Thank you for your understanding.

When I select code and want to run it by “ctrl-enter”, it doesn't run and shows the code with "^[" at the end. I just add
'atom-text-editor':
'ctrl-enter': 'platformio-ide-terminal:insert-selected-text'
in the key map.

@yiranweishen
Copy link
Author

Hello again, Ive no idea what exactly you are doing, thereis not enough information provided in order for me to try to duplicate the issue exactly, Ive tried, it works here, and without knowing specifics which you omitted doesn't help me to help you.

Fell free to edit your main post and add more information, and at that time, Ill have another look. But at this time, there's nothing further I can contribute.

Thank you for your understanding.

I find is my shell problem.
When I use Ipython3.exe, it has the problem like this.
But When I use python.exe, it works fine. I use ipython-7.4.0

@the-j0k3r
Copy link
Collaborator

the-j0k3r commented Apr 17, 2019

Thats the sort of information you could have provided, we dont read minds, but given that you found the issue, then its OK to move on to better things.

So now we know the issue is external,the only thing I can suggest is use what works.

Further reading, #543, #426

Have a good day.

@the-j0k3r
Copy link
Collaborator

Also, if you Have Windows 1809, That breaks many terminals, best thing is to stick at best with Windows 10 - 1803 for the foreseeable future until MS fixes the issue causing the problems.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants