Code Monkey home page Code Monkey logo

x-terminal's People

Contributors

amejia1 avatar aminya avatar dependabot[bot] avatar greenkeeper[bot] avatar renovate-bot avatar renovate[bot] avatar semantic-release-bot avatar the-j0k3r avatar uzitech avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

x-terminal's Issues

Uncaught RangeError: The value of "offset" is out of range. It must be >= 0 and <= 1750. Received...

I just opened the x-terminal (which I used without issue yesterday on the previous version) and it crashed.
It's unusable.

Atom: 1.51.0 x64
Electron: 5.0.13
OS: Debian GNU/Linux
Thrown From: x-terminal package 11.0.2

Stack Trace

Uncaught RangeError: The value of "offset" is out of range. It must be >= 0 and <= 1750. Received 1752

At ~/.atom/packages/x-terminal/node_modules/xterm-addon-ligatures/lib/xterm-addon-ligatures.js:9

RangeError [ERR_OUT_OF_RANGE] [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 1750. Received 1752
    at boundsError (internal/buffer.js:58:9)
    at Buffer.readUInt16BE (internal/buffer.js:228:5)
    at /packages/x-terminal/node_modules/font-finder/dist/tables/name.js:488:29)
    at /packages/x-terminal/node_modules/font-finder/dist/parse.js:94:51
    at processTicksAndRejections (internal/process/task_queues.js:86:5)

Commands

     -9:43 core:delete (input.hidden-input)
     -9:42.4.0 core:save (input.hidden-input)
     -9:27.8.0 core:delete (input.hidden-input)
     -9:27.1.0 core:save (input.hidden-input)
     -0:39.6.0 x-terminal:open (atom-pane.pane.active)

[FR] Open project folder in terminal

Description

For example in the file manager Thunar there is a feature to open a selected folder in a new terminal window by the right mouse button context menu.
I think it would be great, if it's possible to implement this in Atom for the context menu of project folders.

Possibly connected to:

Add option: Paste selected text instead of clipboard

Describe the feature you'd like

Add option: "Paste selected text instead of clipboard"
When text is selected, and you x-terminal:paste it won't dump the clipboard into the terminal, but rather it will dump the selected text into the terminal. When using this feature, the clipboard is not read from or written to when there is selected text and you press paste. (the clipboard is bypassed).

That way you can have something in the clipboard, but also copy some text that's on the screen in your terminal into the buffer.

Imagine you have a long path in your clipboard.
/very/long/path/very/long/path/very/long/path/very/long/path/

you type ls
Then you see a long filename
foo54085034980954809548390854309.txt
so you can simply

  1. Type mv
  2. Select foo54085034980954809548390854309.txt with your mouse
  3. Press Shift-Insert (that is this feature request, it will copy the selected text to the command string that you're typing)
    so now you have mv foo54085034980954809548390854309.txt
  4. Press space
  5. Click inside the terminal to deselect all text.
  6. Press Shift-Insert That will paste /very/long/path/very/long/path/very/long/path/very/long/path/
  7. Press enter

Additional context

This feature request is not related to the bug: #90
But if this feature request is implemented, I would check "Paste selected text instead of clipboard" and I would uncheck "Copy on Select"
That way when you select something, you can optionally copy it Ctrl-Insert or you can just dump it into the terminal without losing what's already in your clipboard.

It would also be great to add another action x-terminal:deselect-text so that you can de-select all text using the keyboard without needing to take your hands off the keyboard to click the mouse. So instead of step 5, you could press ctrl-d or whatever floats your boat.

[BR] Using C:\Program Files\Git\git-bash.exe opens as external term

  • I have reset Atom to defaults prior to submitting report.
  • I have not reset Atom to defaults prior to submitting report.
  • I have tried uninstalling/reinstalling the terminal.
  • I have not tried uninstalling/reinstalling the terminal.

Description

Defining a profile or plain settings to use git-bash.exe opens an external terminal

Steps to reproduce

  1. Enter C:\Program Files\Git\git-bash.exe as command path
  2. Ensure no Arguments are used
    3.Open a terminal

Expected behavior:

Terminal to open with x-terminal

Actual behavior:

Opens an external terminal

Reproduces how often:

1000% <- (900% exaggeration)

Versions

> atom --version

Atom    : 1.44.0
Electron: 4.2.7
Chrome  : 69.0.3497.128
Node    : 10.11.0
> apm --version

apm  2.4.3
npm  6.2.0
node 10.2.1 x64
atom 1.44.0
python 
git 2.25.0.windows.1
visual studio 

OS name and version: Windows 10 Pro 1809 build 17763.1039
Terminal version: 8.6.0

Additional context

generic

Uncaught RangeError: The value of "offset" is out of range. It must be >= 0 and <= 84. Received 86

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.52.0 x64
Electron: 6.1.12
OS: Microsoft Windows 10 Pro Education
Thrown From: x-terminal package 11.0.3

Stack Trace

Uncaught RangeError: The value of "offset" is out of range. It must be >= 0 and <= 84. Received 86

At C:\Users\Alex\.atom\packages\x-terminal\node_modules\xterm-addon-ligatures\lib\xterm-addon-ligatures.js:9

RangeError [ERR_OUT_OF_RANGE] [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 84. Received 86
    at boundsError (internal/buffer.js:73:9)
    at Buffer.readInt16BE (internal/buffer.js:493:5)
    at /packages/x-terminal/node_modules/font-finder/dist/tables/os2.js:56:29)
    at /packages/x-terminal/node_modules/font-finder/dist/parse.js:95:65
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:89:5)

Commands

     -2:38.6.0 command-palette:toggle (input.hidden-input)
  2x -2:22.4.0 build:select-active-target (input.hidden-input)
     -2:20.4.0 build:toggle-panel (input.hidden-input)
     -2:16.6.0 build:trigger (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
  2x -2:08.3.0 build:toggle-panel (input.hidden-input)
  2x -1:56.7.0 build:trigger (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -1:51.5.0 build:select-active-target (div.build.tool-panel.native-key-bindings)
     -1:46.1.0 core:confirm (input.hidden-input)
     -1:43.7.0 build:select-active-target (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -1:43.6.0 build:toggle-panel (input.hidden-input)
     -1:29.5.0 core:backspace (input.hidden-input)
     -1:29.2.0 core:confirm (input.hidden-input)
  2x -1:25.8.0 core:backspace (input.hidden-input)
     -1:23.8.0 core:confirm (input.hidden-input)
     -0:34.8.0 x-terminal:open (div.package-detail)
     -0:09.5.0 x-terminal:open-split-down (input.hidden-input)

Non-Core Packages

atom-beautify 0.33.4 
atom-ternjs 0.20.0 
build 0.70.0 
busy-signal 2.0.1 
drunken-php 0.2.4 
emmet 2.4.3 
nuclide-format-js 0.0.47 
script 3.26.0 
x-terminal 11.0.3 

[FR] Add a status-bar/tool-bar button for showing/hiding the terminal

I wish there was a button (status-bar or tool-bar) that I could press to show the already open terminal. I tend to do that a lot when I am coding. I do not want the terminal to be open all the time.

Now it is annoying every time I open and close the bottom dock, the linter is shown instead of the terminal.

terminal-dock

shortcuts: issues with some terminal open key-combos (Windows)

Not working to open terminal

"ctrl-`": "x-terminal:open",
"ctrl-~": "x-terminal:open",

generic

Haven't tested in other OS

The OSK initially I thought if I used regular keyboard would show the keys I was pressing, No other reason, It works exactly the same as physical keyboard though.

Failed to activate the x-terminal package

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.47.0 x64
Electron: 5.0.13
OS: Unknown Windows version
Thrown From: x-terminal package 8.2.1

Stack Trace

Failed to activate the x-terminal package

At Cannot find module 'marked'
Require stack:
- C:\Users\ponch\.atom\packages\x-terminal\src\profile-menu-element.js
- C:\Users\ponch\.atom\packages\x-terminal\src\element.js
- C:\Users\ponch\.atom\packages\x-terminal\src\x-terminal.js
- C:\Users\ponch\AppData\Local\atom\app-1.47.0\resources\app.asar\static\index.html

Error: Cannot find module 'marked'
Require stack:
- C:\Users\ponch\.atom\packages\x-terminal\src\profile-menu-element.js
- C:\Users\ponch\.atom\packages\x-terminal\src\element.js
- C:\Users\ponch\.atom\packages\x-terminal\src\x-terminal.js
- C:\Users\ponch\AppData\Local\atom\app-1.47.0\resources\app.asar\static\index.html
    at Module._resolveFilename (internal/modules/cjs/loader.js:683:15)
    at Module._resolveFilename (~/AppData/Local/atom/app-1.47.0/resources/electron.asar/common/reset-search-paths.js:43:12)
    at Function.get_Module._resolveFilename (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:155434)
    at Module.require (/app.asar/static/index.js:61:43)
    at require (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:146766)
    at /packages/x-terminal/src/profile-menu-element.js:22:55)
    at /packages/x-terminal/src/profile-menu-element.js:501:29)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:147450)
    at Object.value [as .js] (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:150998)
    at Module.load (internal/modules/cjs/loader.js:701:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:633:12)
    at Function.Module._load (internal/modules/cjs/loader.js:625:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:146766)
    at /packages/x-terminal/src/element.js:30:63)
    at /packages/x-terminal/src/element.js:737:18)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:147450)
    at Object.value [as .js] (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:150998)
    at Module.load (internal/modules/cjs/loader.js:701:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:633:12)
    at Function.Module._load (internal/modules/cjs/loader.js:625:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:146766)
    at /packages/x-terminal/src/x-terminal.js:26:44)
    at /packages/x-terminal/src/x-terminal.js:598:2)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:147450)
    at Object.value [as .js] (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:150998)
    at Module.load (internal/modules/cjs/loader.js:701:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:633:12)
    at Function.Module._load (internal/modules/cjs/loader.js:625:3)

Commands

Non-Core Packages

atom-clock 0.1.18 
atom-material-syntax 1.0.8 
atom-material-ui 2.1.3 
busy-signal 2.0.1 
git-plus 8.7.1 
hey-pane 1.2.0 
Hydrogen 2.14.1 
intentions 1.1.5 
linter 2.3.1 
linter-tidy 2.4.0 
linter-ui-default 1.8.1 
x-terminal 8.2.1 

Integration into atom-community builds

As you already know, atom-ide-community plans to release community builds of atom. X-terminal is one of the first packages, we would like to include in our builds.

Here is the respective task in atom-ide-community projects:
https://github.com/atom-ide-community/atom/projects/4#card-41190368

I made this issue to track the x-terminal integration and any related task that we might need to do before integration such as determining the build process, etc. Once we integrated it into the build, we will close this.

@UziTech You are already a member of the organization. Feel free to give me suggestions/pull requests. Thanks!

P.S: there is no need to rename/transfer this repository! Let me know if you prefer to transfer this issue to the atom-ide-community repository instead.

[FR] Send current line to terminal and move cursor to next line

Describe the feature you'd like

After months looking for a terminal I could move in a panel instead of being fixed to the bottom of Atom with the full-window width, I finally found this awesome package. Thanks.

However, I would need to send lines of the editor file into the terminal with a keybinding, pretty much like what Termination does with alt+r. Is that possible with x-terminal currently, or with the help of another package?

I see that your other terminal package, Terminus, allows inserting the current selection to the terminal, but ctrl+enter didn't do anything on my end and I am not sure what the issue is. Plus, I would prefer something that does not require selecting the line first (just send the line where the cursor is) and that automatically moves the cursor to the next line afterwards.

Additional context

Any "send-code" variant would be very useful (send all, send selection, send current line, send section, etc.) for executing R code for instance, which is my intent, but also for other similar workflows.

[FR] Teletype support

The only thing that is preventing me from using atom instead of vscode full time, at the moment, is the lack of sharing a terminal with another person. VSCode can do this with the live share extension.
Why not integrate with teletype?
I currently use https://tmate.io/ which works amazingly but teletype support would be a step further to make it feel native

[BR] npm i has no effect when using x-terminal

  • I have reset Atom to defaults prior to submitting report.
  • I have not reset Atom to defaults prior to submitting report.
  • I have tried uninstalling/reinstalling the terminal.
  • I have not tried uninstalling/reinstalling the terminal.

Description

Steps to reproduce

  1. Open a project in Atom
  2. Run npm i
  3. Let it run (notice its quite short)
  4. Notice that node_modules folder in not created.

Expected behavior:

Full node_modules install in project dir

Actual behavior:

npm i process runs as if everything is OK, but this never results in the node_modules appearing in project.

Reproduces how often:

100%

Versions

> atom --version

Atom    : 1.45.0
Electron: 4.2.7
Chrome  : 69.0.3497.128
Node    : 10.11.0
> apm --version

apm  2.4.3
npm  6.2.0
node 10.2.1 x6
atom 1.45.0
python 2.7.17
git 2.25.0.win
visual studio

OS name and version: Windows 10 PRO 1809 (virtualized Guest in Virtualbox 6.1.4)
Terminal version: 8.0.4

Additional context

X-terminal demo

generic

With terminus (or any external terminal) its OK but the demo is terminus only

generic

note the terminus demo was paused for a while, as this takes a while to complete and gif size would be HUGE. But you can see the dir being created

[FR] Mention the Node version

Can you add the node version you used to the package.json?

  "dependencies": {
    "node": "11.1.0",  // <- something like this
    "deep-object-diff": "^1.1.0",
    "fs-extra": "^9.0.1",
    "marked": "^1.1.1",
    "node-pty-prebuilt-multiarch": "^0.9.0",
    "uuid": "^8.3.0",
    "whatwg-url": "^8.2.0",
    "xterm": "4.8.1",
    "xterm-addon-fit": "0.4.0",
    "xterm-addon-web-links": "0.4.0",
    "xterm-addon-webgl": "0.8.0"
  },

If I build the extension with node 12, it fails with this error:

The module '*bunch-of-stuff*/pty.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 72. This version of Node.js requires
NODE_MODULE_VERSION 70. 

If I build the extension with node 10, it fails with this error:

The module '*bunch-of-stuff*/pty.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 68. This version of Node.js requires
NODE_MODULE_VERSION 70. 

Uncaught TypeError: Cannot read property 'copyCellsFrom' of undefined

[Enter steps to reproduce:]

  1. open terminal in the right dock
  2. make the dock as narrow as possible
  3. clear the console by typing "clear" (MSYS2 command)
  4. resize the dock (first making it wider and then narrower)

Atom: 1.50.0 x64
Electron: 5.0.13
OS: Windows 10
Thrown From: x-terminal package 9.1.1

Stack Trace

Uncaught TypeError: Cannot read property 'copyCellsFrom' of undefined

At C:\Users\Lenovo\.atom\packages\x-terminal\node_modules\xterm\lib\xterm.js:1

TypeError: Cannot read property 'copyCellsFrom' of undefined
    at e._reflowSmaller (/packages/x-terminal/node_modules/xterm/lib/xterm.js:1:269077)
    at e._reflow (/packages/x-terminal/node_modules/xterm/lib/xterm.js:1:267570)
    at e.resize (/packages/x-terminal/node_modules/xterm/lib/xterm.js:1:267189)
    at t.resize (/packages/x-terminal/node_modules/xterm/lib/xterm.js:1:263460)
    at r.resize (/packages/x-terminal/node_modules/xterm/lib/xterm.js:1:261400)
    at t.resize (/packages/x-terminal/node_modules/xterm/lib/xterm.js:1:253139)
    at t.resize (/packages/x-terminal/node_modules/xterm/lib/xterm.js:1:127968)
    at e.resize (/packages/x-terminal/node_modules/xterm/lib/xterm.js:1:98529)
    at e.fit (/packages/x-terminal/node_modules/xterm-addon-fit/lib/xterm-addon-fit.js:1:1723)
    at HTMLElement.refitTerminal (/packages/x-terminal/src/element.js:692:18)
    at /packages/x-terminal/src/element.js:95:10)

Commands

  2x -0:26.5.0 x-terminal:open (ul.list-inline.tab-bar.inset-panel)

Non-Core Packages

x-terminal 9.1.1 

x-terminal 11.0.2 does not open

  • I have reset Atom to defaults prior to submitting report.
  • I have not reset Atom to defaults prior to submitting report.
  • I have tried uninstalling/reinstalling the terminal.
  • I have not tried uninstalling/reinstalling the terminal.

Workaround

  1. Uninstall x-terminal
  2. Close atom
  3. apm install [email protected]
  4. (it works)
  5. Don't update to 11.0.2

Description

X-terminal doesn't open, neither by key-binding (KeyBindingResolver shows the keybinding works) nor by opening it with the Atom menu Packages > X-Terminal > Open new terminal.
Literally nothing happens.
No error is shown in the Atom inspector's console tab.
However when I open Atom's inspector's console tab, it shows the error
"Failed to require the main module of 'x-terminal' because it requires one or more incompatible native modules (node-pty-prebuilt-multiarch).
Run apm rebuild in the package directory and restart Atom to resolve."

I have

  1. Closed atom
  2. Open a (real) terminal
  3. cd ~/.atom/packages
  4. apm rebuild
  5. It says: Rebuilding modules ✓

I have

  1. Closed atom
  2. Open a (real) terminal
  3. cd ~/.atom/packages/x-terminal
  4. apm rebuild
  5. It says: Rebuilding modules ✓

No change.

Steps to reproduce

  1. Try open x-terminal

Expected behavior:
Terminal opens.

Actual behavior:
Nothing happens, no error is displayed on screen or in the atom inspector's console.

Reproduces how often:
100% of the time

Versions

Atom : 1.52.0
Electron: 6.1.12
Chrome : 76.0.3809.146
Node : 12.4.0
apm 2.5.2
npm 6.14.8
node 12.4.0 x64
atom 1.52.0
python 2.7.16
git 2.20.1
x-terminal: 11.0.2
OS: Linux
Debian 10 Buster
Linux kernel: Backported 5.8

Additional context

I've been using x-terminal for many weeks, suddenly it won't open, if I recall correctly it broke immediately after an update.

Failed to require the main module of 'x-terminal' because it requires one or more incompatible native modules (node-pty-prebuilt-multiarch)

The error

Failed to require the main module of 'x-terminal' because it requires one or more incompatible native modules (node-pty-prebuilt-multiarch).
Run `apm rebuild` in the package directory and restart Atom to resolve.

Appears in atom's inspector console, when I open atom with x-terminal 11.0.2
I'm just making this issue (with the above title) to link to #187 to make it easier to find.
Please go to the above issue for discussion/resolution.

[Q] openTerminal command not working?

I tried to use atomXtermService, but it returns an error.

   function useterminal() {
    atomXterm.openTerminal({
      command: 'julia'
    });
  };

image

However, platformioIDETerminalService works perfectly fine. Am I missing something?

   function useterminalPIDE() {
    console.log("hello world");
    platformioIDETerminal.run(['julia']);
  };

image

Uncaught RangeError: The value of "offset" is out of range. It must be >= 0 and <= 2180. Received...

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.52.0 x64
Electron: 6.1.12
OS: Ubuntu 18.04.5
Thrown From: x-terminal package 11.0.4

Stack Trace

Uncaught RangeError: The value of "offset" is out of range. It must be >= 0 and <= 2180. Received 2182

At /home/aochoa/.atom/packages/x-terminal/node_modules/xterm-addon-ligatures/lib/xterm-addon-ligatures.js:9

RangeError [ERR_OUT_OF_RANGE] [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 2180. Received 2182
    at boundsError (internal/buffer.js:73:9)
    at Buffer.readUInt16BE (internal/buffer.js:319:5)
    at /packages/x-terminal/node_modules/font-finder/dist/tables/name.js:487:33)
    at /packages/x-terminal/node_modules/font-finder/dist/parse.js:94:51
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:89:5)

Commands

Non-Core Packages

atom-minify 0.8.0 
language-julia 0.20.0 
x-terminal 11.0.4 

Uncaught RangeError: The value of "offset" is out of range. It must be >= 0 and <= 385. Received 387

My steps

  1. I did install Atom and X-Terminal plugin.
  2. I did open Packeges => X-Terminal => Open new Terminal and I've got this error:

issue

Atom: 1.53.0 x64
Electron: 6.1.12
OS: Mac OS X 10.13.6
Thrown From: x-terminal package 11.0.4

Stack Trace

Uncaught RangeError: The value of "offset" is out of range. It must be >= 0 and <= 385. Received 387

At /Users/nickname/.atom/packages/x-terminal/node_modules/xterm-addon-ligatures/lib/xterm-addon-ligatures.js:9

RangeError [ERR_OUT_OF_RANGE] [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 385. Received 387
    at boundsError (internal/buffer.js:73:9)
    at Buffer.readUInt16BE (internal/buffer.js:319:5)
    at /packages/x-terminal/node_modules/font-finder/dist/tables/name.js:501:37)
    at /packages/x-terminal/node_modules/font-finder/dist/parse.js:94:51
    at processTicksAndRejections (internal/process/task_queues.js:89:5)

Commands

     -4:45.4.0 core:backspace (input.hidden-input)
     -0:25 x-terminal:open (div.package-detail)

Non-Core Packages

ftp-remote-edit-plus 1.2.0 
platformio-ide-terminal 2.10.0 
x-terminal 11.0.4 

[FR] Add ability to copy text in terminal on text selection

Describe the feature you'd like

Pretty much make this optional enabled by default and add ability.

Additional context

terminus supports this and other shells do as well, its helpful for quick copying and pasting of terminal output or during interactive rebases

[BR] Ctrl-L is buggy

  • [] I have reset Atom to defaults prior to submitting report.
  • I have not reset Atom to defaults prior to submitting report.
  • I have tried uninstalling/reinstalling the terminal.
  • I have not tried uninstalling/reinstalling the terminal.

Description

CTRL+L does not work the same as running clear (pwsh). CTRL+L sometimes prints some extra strings or words.

CTRL+L:
image

clear:
image

Steps to reproduce

  1. press CTRL+L

Expected behavior:
See above screenshots

Actual behavior:
See above screenshots

Reproduces how often:
Sometimes (not sure when)

Versions

> atom --version

Atom    : 1.49.0
Electron: 5.0.13
Chrome  : 73.0.3683.121
Node    : 12.0.0
> apm --version
❯ apm -v
apm  2.5.0
npm  6.14.5
node 10.20.1 x64
atom 1.49.0
python 3.8.5
git 2.28.0.windows.1
visual studio 2015

OS name and version: win 10
Terminal version: 9.0.5

Additional context

Atom 1.44.0 + x-terminal 7.1.0 : Error: WebGL2 not supported

So first congrats on the fork from atom-xterm ! With xterm.js support this project has great potential!

However on testing it, sadly it doesn't load except for a blinking cursor -This sounds familiar, hum, but is not the same =)

generic

Opening dev tools and viewing console log reveals the issue

 $> atom -v

Atom    : 1.44.0
Electron: 4.2.7
Chrome  : 69.0.3497.128
Node    : 10.11.0

 $> apm -v
apm  2.4.3
npm  6.2.0
node 10.2.1 x64
atom 1.44.0
python
git 2.24.1.windows.2
CLICK TO VIEW x-terminal console log

C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2 Uncaught (in promise) Error: WebGL2 not supported
    at new t (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at e.activate (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at e.loadAddon (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at e.loadAddon (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at HTMLElement.<anonymous> (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at u (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at Generator._invoke (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at Generator.forEach.e.(anonymous function) [as next] (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2:390760)
    at i (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at s (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2
    at new Promise (<anonymous>)
    at HTMLElement.<anonymous> (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at HTMLElement.c.value (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at HTMLElement.<anonymous> (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at u (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at Generator._invoke (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at Generator.forEach.e.(anonymous function) [as next] (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2:390760)
    at i (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at s (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2 Uncaught (in promise) Error: WebGL2 not supported
    at new t (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at e.activate (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at e.loadAddon (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at e.loadAddon (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at HTMLElement.<anonymous> (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at u (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at Generator._invoke (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at Generator.forEach.e.(anonymous function) [as next] (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2:390760)
    at i (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at s (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2
    at new Promise (<anonymous>)
    at HTMLElement.<anonymous> (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at HTMLElement.c.value (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at HTMLElement.<anonymous> (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at u (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at Generator._invoke (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at Generator.forEach.e.(anonymous function) [as next] (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2:390760)
    at i (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at s (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2 Uncaught (in promise) Error: WebGL2 not supported
    at new t (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at e.activate (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at e.loadAddon (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at e.loadAddon (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at HTMLElement.<anonymous> (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at u (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at Generator._invoke (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at Generator.forEach.e.(anonymous function) [as next] (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2:390760)
    at i (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at s (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2
    at new Promise (<anonymous>)
    at HTMLElement.<anonymous> (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at HTMLElement.c.value (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at HTMLElement.<anonymous> (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at u (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at Generator._invoke (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at Generator.forEach.e.(anonymous function) [as next] (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2:390760)
    at i (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at s (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2 Uncaught (in promise) Error: WebGL2 not supported
    at new t (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at e.activate (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at e.loadAddon (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at e.loadAddon (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at HTMLElement.<anonymous> (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at u (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at Generator._invoke (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at Generator.forEach.e.(anonymous function) [as next] (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2:390760)
    at i (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at s (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2
    at new Promise (<anonymous>)
    at HTMLElement.<anonymous> (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at HTMLElement.c.value (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at HTMLElement.<anonymous> (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at u (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at Generator._invoke (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at Generator.forEach.e.(anonymous function) [as next] (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2:390760)
    at i (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at s (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2 Uncaught (in promise) Error: WebGL2 not supported
    at new t (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at e.activate (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at e.loadAddon (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at e.loadAddon (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at HTMLElement.<anonymous> (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at u (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at Generator._invoke (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at Generator.forEach.e.(anonymous function) [as next] (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2:390760)
    at i (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at s (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2
    at new Promise (<anonymous>)
    at HTMLElement.<anonymous> (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at HTMLElement.c.value (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at HTMLElement.<anonymous> (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at u (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at Generator._invoke (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at Generator.forEach.e.(anonymous function) [as next] (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2:390760)
    at i (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at s (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2 Uncaught (in promise) Error: WebGL2 not supported
    at new t (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at e.activate (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at e.loadAddon (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at e.loadAddon (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at HTMLElement.<anonymous> (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at u (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at Generator._invoke (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at Generator.forEach.e.(anonymous function) [as next] (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2:390760)
    at i (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at s (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2
    at new Promise (<anonymous>)
    at HTMLElement.<anonymous> (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at HTMLElement.c.value (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at HTMLElement.<anonymous> (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at u (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at Generator._invoke (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at Generator.forEach.e.(anonymous function) [as next] (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2:390760)
    at i (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at s (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2 Uncaught (in promise) Error: WebGL2 not supported
    at new t (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at e.activate (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at e.loadAddon (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at e.loadAddon (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at HTMLElement.<anonymous> (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at u (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at Generator._invoke (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at Generator.forEach.e.(anonymous function) [as next] (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2:390760)
    at i (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at s (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2
    at new Promise (<anonymous>)
    at HTMLElement.<anonymous> (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at HTMLElement.c.value (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at HTMLElement.<anonymous> (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at u (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at Generator._invoke (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at Generator.forEach.e.(anonymous function) [as next] (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2:390760)
    at i (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at s (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2 Uncaught (in promise) Error: WebGL2 not supported
    at new t (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at e.activate (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at e.loadAddon (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at e.loadAddon (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at HTMLElement.<anonymous> (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at u (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at Generator._invoke (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at Generator.forEach.e.(anonymous function) [as next] (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2:390760)
    at i (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at s (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2
    at new Promise (<anonymous>)
    at HTMLElement.<anonymous> (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at HTMLElement.c.value (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at HTMLElement.<anonymous> (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at u (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at Generator._invoke (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at Generator.forEach.e.(anonymous function) [as next] (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2:390760)
    at i (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)
    at s (C:\Users\Joker\.atom\packages\x-terminal\dist\lib\x-terminal.js:2)

Using normal atom key-bindings after doing stuff in x-terminal without touching the mouse?

I would like to be able do the following

  1. Use my most common shortcut keys inside x-terminal in Linux
  2. Alternatively press a key combo that causes x-terminal to lose focus so that my key-combo goes through to atom workspace (or whatever)

Additional context

Often, after finishing some work I close all file tabs and complete my commits and PR in the terminal.
Then I'm ready to begin working on a new branch, but need to open some files.
None of the shortcut keys that I usually work while I'm in x-terminal.
The file tree-view is typically closed as well which means I was needing to use the mouse and menus (yuck)

But I've just discovered that I can click the statusbar below x-terminal and then my key-combos work... but that still involves touching the rodent, which I'd rather avoid.

I tried adding some of my most common key-combos (that should not conflict with anything I do in x-terminal) to x-terminal. But it didn't work.

keymap.cson

'.platform-linux x-terminal':
  'ctrl-t': 'fuzzy-finder:toggle-file-finder',

The above did not work.
Also I see there is no x-terminal activity or whatever it's called to make it lose focus? Because that could be a badass alternative, so that I don't need to use a mouse.

So workflow would go like this.

  1. Finish working in terminal.
  2. Press magic key-combo to make terminal lose focus.
  3. Use normal atom key-binding to open a file or the tree-view or whatever.

Thanks, any tips or ideas will be appreciated!

Import x-terminal to fix GitHub Searches into project

Currently if you search on this project for anything you get 0 hits, Forked projects dont get any searches, none.

Capture

If the repo is imported/ instead of forked this isnt a problem see https://github.com/the-j0k3r/x-terminal-fork-fix-gh-project-search/search?q=test&unscoped_q=test

Capture

👍 🎉

To do this goto Create a new repo and select import at the top

generic

Nothing is lost then simply making transition from one to other should be seamless.

An alternative way is to create a new empty repo and add a remote and rebase also very doable.

The automated release is failing 🚨

🚨 The automated release from the master branch failed. 🚨

I recommend you give this issue a high priority, so other packages depending on you could benefit from your bug fixes and new features.

You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can resolve this 💪.

Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.

Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the master branch. You can also manually restart the failed CI job that runs semantic-release.

If you are not sure how to resolve this, here is some links that can help you:

If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.


No npm token specified.

An npm token must be created and set in the NPM_TOKEN environment variable on your CI environment.

Please make sure to create an npm token and to set it in the NPM_TOKEN environment variable on your CI environment. The token must allow to publish to the registry https://registry.npmjs.org/.


Good luck with your project ✨

Your semantic-release bot 📦🚀

Terminal output cleared with multiple tabs [BR]

  • I have reset Atom to defaults prior to submitting report.
  • I have not reset Atom to defaults prior to submitting report.
  • I have tried uninstalling/reinstalling the terminal.
  • I have not tried uninstalling/reinstalling the terminal.

Description

When opening multiple tabs in the same position (i.e. right dock), output of all other tabs will be cleared automatically

Steps to reproduce

  1. Open terminal in the right dock
  2. Type in any command to get some output on the screen
  3. Open another terminal tab in the right dock
  4. Output from the first terminal is cleared

Expected behavior:

Output from all non-active tabs should remain unaffected when a new terminal is opened in the same location
Output from tab should not be affected when unfocused.

Actual behavior:

The output is cleared when a new tab is opened in the same location or when a tab is unfocused (demonstrated by the following 2 videos)
https://www.youtube.com/watch?v=Wpq_OmmHr4w
https://www.youtube.com/watch?v=3KLlx4Vk5JQ

Reproduces how often:

Always

Versions

> atom --version
Atom    : 1.45.0
Electron: 4.2.7
Chrome  : 69.0.3497.128
Node    : 10.11.0
> apm --version
apm  2.4.3
npm  6.2.0
node 10.2.1 x64
atom 1.45.0
python 3.7.1
git 2.25.0
visual studio 2015

OS name and version: Windows 10 x64
Terminal version: 9.0.3

Additional context

Failed to load the x-terminal package

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.45.0 x64
Electron: 4.2.7
OS: Microsoft Windows 10 Pro
Thrown From: x-terminal package 8.1.10

Stack Trace

Failed to load the x-terminal package

At '../node_modules/xterm/css/xterm.css' wasn't found. Tried - C:\Users\Vivek\.atom\packages\x-terminal\node_modules\xterm\css\xterm.css,C:\Users\Vivek\.atom\packages\styri-syntax\node_modules\xterm\css\xterm.css,C:\Users\Vivek\AppData\Local\atom\app-1.45.0\resources\app.asar\node_modules\one-dark-ui\node_modules\xterm\css\xterm.css,C:\Users\Vivek\AppData\Local\atom\app-1.45.0\resources\app.asar\static\node_modules\xterm\css\xterm.css,C:\Users\Vivek\AppData\Local\atom\app-1.45.0\resources\app.asar\node_modules\xterm\css\xterm.css,..\node_modules\xterm\css\xterm.css in C:\Users\Vivek\.atom\packages\x-terminal\styles\x-terminal.less:353:0

LessError: '../node_modules/xterm/css/xterm.css' wasn't found. Tried - C:\Users\Vivek\.atom\packages\x-terminal\node_modules\xterm\css\xterm.css,C:\Users\Vivek\.atom\packages\styri-syntax\node_modules\xterm\css\xterm.css,C:\Users\Vivek\AppData\Local\atom\app-1.45.0\resources\app.asar\node_modules\one-dark-ui\node_modules\xterm\css\xterm.css,C:\Users\Vivek\AppData\Local\atom\app-1.45.0\resources\app.asar\static\node_modules\xterm\css\xterm.css,C:\Users\Vivek\AppData\Local\atom\app-1.45.0\resources\app.asar\node_modules\xterm\css\xterm.css,..\node_modules\xterm\css\xterm.css
at C:\Users\Vivek\.atom\packages\x-terminal\styles\x-terminal.less:353:0

Commands

Non-Core Packages

atom-clock 0.1.18 
django-templates 0.5.0 
sort-selected-elements 0.1.0 
styri-syntax 1.0.0 
x-terminal 8.1.10 

Uncaught TypeError: Cannot read property 'en' of undefined

[Enter steps to reproduce:]

  1. install x-terminal plugin
  2. try typing anything - in this case 'en'

Atom: 1.52.0 x64
Electron: 6.1.12
OS: Ubuntu 20.04.1
Thrown From: x-terminal package 11.0.2

Stack Trace

Uncaught TypeError: Cannot read property 'en' of undefined

At /home/cliff/.atom/packages/x-terminal/node_modules/xterm-addon-ligatures/lib/xterm-addon-ligatures.js:9

TypeError: Cannot read property 'en' of undefined
    at Object.name (/packages/x-terminal/node_modules/font-finder/dist/extract.js:33:36)
    at getMetadata (/packages/x-terminal/node_modules/font-finder/dist/index.js:87:23)
    at /packages/x-terminal/node_modules/font-finder/dist/index.js:31:20
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:89:5)
    at wrapper (/packages/x-terminal/node_modules/font-finder/dist/index.js:107:22)
    at wrapper (/packages/x-terminal/node_modules/font-finder/dist/index.js:109:13)
    at wrapper (/packages/x-terminal/node_modules/font-finder/dist/index.js:109:13)
    at wrapper (/packages/x-terminal/node_modules/font-finder/dist/index.js:109:13)
    at wrapper (/packages/x-terminal/node_modules/font-finder/dist/index.js:109:13)
    at wrapper (/packages/x-terminal/node_modules/font-finder/dist/index.js:109:13)
    at wrapper (/packages/x-terminal/node_modules/font-finder/dist/index.js:109:13)
    at wrapper (/packages/x-terminal/node_modules/font-finder/dist/index.js:109:13)
    at wrapper (/packages/x-terminal/node_modules/font-finder/dist/index.js:109:13)
    at wrapper (/packages/x-terminal/node_modules/font-finder/dist/index.js:109:13)
    at wrapper (/packages/x-terminal/node_modules/font-finder/dist/index.js:109:13)
    at wrapper (/packages/x-terminal/node_modules/font-finder/dist/index.js:109:13)
    at wrapper (/packages/x-terminal/node_modules/font-finder/dist/index.js:109:13)
    at wrapper (/packages/x-terminal/node_modules/font-finder/dist/index.js:109:13)
    at wrapper (/packages/x-terminal/node_modules/font-finder/dist/index.js:109:13)
    at wrapper (/packages/x-terminal/node_modules/font-finder/dist/index.js:109:13)
    at wrapper (/packages/x-terminal/node_modules/font-finder/dist/index.js:109:13)
    at wrapper (/packages/x-terminal/node_modules/font-finder/dist/index.js:109:13)
    at wrapper (/packages/x-terminal/node_modules/font-finder/dist/index.js:109:13)
    at wrapper (/packages/x-terminal/node_modules/font-finder/dist/index.js:109:13)
    at wrapper (/packages/x-terminal/node_modules/font-finder/dist/index.js:109:13)
    at wrapper (/packages/x-terminal/node_modules/font-finder/dist/index.js:109:13)
    at wrapper (/packages/x-terminal/node_modules/font-finder/dist/index.js:109:13)
    at wrapper (/packages/x-terminal/node_modules/font-finder/dist/index.js:109:13)
    at wrapper (/packages/x-terminal/node_modules/font-finder/dist/index.js:109:13)

Commands

     -0:17.5.0 x-terminal:open (input.hidden-input)

Non-Core Packages

busy-signal 2.0.1 
color-picker 2.3.0 
html-tag-auto-complete 2.0.0 
intentions 1.1.5 
linter 3.1.1 
linter-json-lint 0.1.3 
linter-ui-default 2.1.2 
multi-cursor 3.0.0 
open-in-browsers 0.0.30 
script 3.26.0 
Stylus 3.2.0 
x-terminal 11.0.2 

[Q] How do you automatically run a command? [Ubuntu 20.04 LTS]

I would like to automatically execute a terminal command when booting it up from Atom.
I tried to do so by going to the x-terminal package and by changing the /bin/bash/ default command to python3 script.py to automatically start my python file when opening the x-terminal but it didn't happen and instead it returned the error xecvp(3) failed.: No such file or directory also after I set the right directory in the directory options.
Anyways if I just set the right path and execute the command myself from the terminal it doesn't return any error.
Hope you can help me resolve this issue also if it's probably my fault and thanks for the patience.
Giuseppe.

Screenshot from 2020-07-28 16-27-43
Screenshot from 2020-07-28 16-28-43

[BR] Cannot run test script

  • I have reset Atom to defaults prior to submitting report.
  • I have not reset Atom to defaults prior to submitting report.
  • I have tried uninstalling/reinstalling the terminal.
  • I have not tried uninstalling/reinstalling the terminal.

Description

Running npm run test results in Atom error

Steps to reproduce

  1. Install project deps npm i
  2. run npm run test
  3. See error popup

Expected behavior:

No error

Actual behavior:

error

Reproduces how often:

always

Versions

> atom --version

Atom    : 1.44.0
Electron: 4.2.7
Chrome  : 69.0.3497.128
Node    : 10.11.0
> apm --version

apm  2.4.3
npm  6.2.0
node 10.2.1 x64
atom 1.44.0
python 
git 2.25.0.windows.1
visual studio 

OS name and version: Windows 10 Pro 1809 build 17763.1039
Terminal version: 8.6.0

Additional context

Capture

[Q] paste text from the clipboard into a file created in the terminal

I would like to be able do the following

1.When I paste text from the clipboard into a file created in the terminal, the line breaks disappear and as a result the text is not inserted correctly. How can I configure the X terminal so that line breaks do not disappear?

Additional context

[BR] X-terminal does not change its dimensions by changing the panes dimension

  • [] I have reset Atom to defaults prior to submitting report.
  • I have not reset Atom to defaults prior to submitting report.
  • I have tried uninstalling/reinstalling the terminal.
  • I have not tried uninstalling/reinstalling the terminal.

Description

X-terminal does not change its dimensions by changing the panes dimension

Steps to reproduce

  1. Open a terminal and put in the bottom pane (besides) linter.
  2. Resize so it's big.
  3. type enter a couple of times so it gets filled.
  4. now make the pane smaller
  5. x-terminal does not resize like how Windows terminal resizes
    You can do this the other way around. Start with small and then make it bigger. The content does not go into the now empty black part.

Expected behavior:
Resizabliltiy like Windows terminal

Actual behavior:

I expect my pointer to be the last line, and I should not have to scroll for seeing it.
image

Reproduces how often:
Always

Versions

❯ atom -v

Atom    : 1.49.0       
Electron: 5.0.13       
Chrome  : 73.0.3683.121
Node    : 12.0.0       
❯ apm -v
apm  2.5.0
npm  6.14.5
node 10.20.1 x64    
atom 1.49.0
python 3.8.5        
git 2.27.0.windows.1
visual studio 2015  

OS name and version: Win 10
Terminal version: 8.2.3

Additional context

[BR]

  • I have reset Atom to defaults prior to submitting report.
  • I have not reset Atom to defaults prior to submitting report.
  • I have tried uninstalling/reinstalling the terminal.
  • I have not tried uninstalling/reinstalling the terminal.

Description

Steps to reproduce

Expected behavior:

install x- terminal

Actual behavior:

failed

Reproduces how often:

Versions

2020

> atom --version

> apm --version

OS name and version:
Terminal version:

Additional context

[FR] Keyboard Controls

Additional context

Normally I'd use a command to toggle/focus on a terminal panel, similar to focusing on the tree view. But with x-terminal the shortcuts just keep opening new terminals (no toggle or focus command, just open-new). There doesn't seem to be an alternative command. Similarly, I don't see a command/keybinding for closing a terminal.

I'm not sure how other people use this extension without a mouse.

Describe the feature you'd like

A command to focus on the last-opened terminal.
A command to close a terminal.
If these get added I can finally switch from terminus to x-terminal.

[BR] Focus doesn't focus once terminal is created

  • I have reset Atom to defaults prior to submitting report.
  • I have not reset Atom to defaults prior to submitting report.
  • I have tried uninstalling/reinstalling the terminal.
  • I have not tried uninstalling/reinstalling the terminal.

Description

Steps to reproduce

  1. Open Atom
  2. Call x-terminal:focus through a keybinding
  3. Terminal opens 👍
  4. Close the panel
  5. Call x-terminal:focus through a keybinding
  6. Nothing happens

Expected behavior:
The terminal to be focused on (open bottom panel)

Actual behavior:
Nothing

Reproduces how often:
100%

Versions

> atom --version
Atom    : 1.50.0
Electron: 5.0.13
Chrome  : 73.0.3683.121
Node    : 12.0.0
> apm --version
apm  2.5.0
npm  6.14.5
node 10.20.1 x64
atom 1.50.0
python 3.9.0a4
git 2.27.0

OS name and version: MacOS Sierra
Terminal version: 11.0.2

Additional context

This might be something wrong with atom since the last fix related to focus is just calling focus twice, which is kinda jank
#175
I've tested directly calling the commands (no keybinding) as well just to make sure there wasn't an issue with activation

Select on Copy; does not copy

  • I have reset Atom to defaults prior to submitting report.
  • I have not reset Atom to defaults prior to submitting report.
  • I have tried uninstalling/reinstalling the terminal.
  • I have not tried uninstalling/reinstalling the terminal.

Description

Copy on Select does not work.

Steps to reproduce

  1. I've checked the option "Copy on Select" in bus-stop/x-terminal settings tab in Atom.io
  2. I select some text in the terminal, try paste, but it has not copied what I've selected.
  3. I confirmed that normal Copy/Paste works. (Ctrl-Insert to copy and Shift-Insert to paste)

Expected behavior:
When I click and drag to select some text in the terminal, upon releasing the mouse button, the selected text should be copied to the clipboard.

Actual behavior:
The selected text is not copied to the clipboard.

Reproduces how often:
100%

Versions

> atom --version

Atom 1.47 on Linux x86_64 (Debian 10 Buster)

> apm --version
apm  2.4.5
npm  6.2.0
node 10.2.1 x64
atom 1.47.0
python 2.7.16
git 2.20.1

OS name and version:
Terminal version:
8.2.1

sudo is not working in x-terminal anymore

  • I have reset Atom to defaults prior to submitting report.
  • I have not reset Atom to defaults prior to submitting report.
  • I have tried uninstalling/reinstalling the terminal.
  • I have not tried uninstalling/reinstalling the terminal.

Description

Can't use sudo in x-terminal anymore. It worked previously.
I used be be able to run sudo service foo restart in the terminal, but now all sudo commands fail, even a simple sudo -s fails.

Steps to reproduce

sudo -s

Expected behavior:
[sudo] password for bob:

Actual behavior:
sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?

Reproduces how often:
Every time.

Versions

> atom --version

Atom : 1.50.0
Electron: 5.0.13
Chrome : 73.0.3683.121
Node : 12.0.0

> apm --version

apm 2.5.0
npm 6.14.5
node 10.20.1 x64
atom 1.50.0
python 2.7.16
git 2.20.1

OS name and version: Debian 10 Buster (Linux)
Terminal version: 9.1.1

Additional context

sudo works fine in a normal gnome-terminal. If I compare printenv with the x-terminal in atom vs gnome-terminal, the following environment variables are different in the atom x-terminal. (atom x-terminal values are shown)

ATOM_DISABLE_SHELLING_OUT_FOR_ENVIRONMENT=true
ATOM_HOME=/home/bob/.atom
CHROME_DESKTOP=Atom.desktop
DISPLAY=:50.0
SHLVL=3
NODE_PATH=/usr/share/atom/resources/app.asar/exports

[FR] Integration with hydrogen and atom-script

Describe the feature you'd like

It would be nice if hydrogen and atom-script are integrated with Terminal. This can allow evaluating code and getting the result back in a more organized way. This is useful if we want to get runtime information such as workspace data, defined variables, etc.

What I miss here is a connection between language client protocol, terminal, and runners.

If these connect to each other, we can have a single process (like python or julia), and work with it in Terminal, evaluate code in the editor, and get help from the language server that includes runtime information

Clear terminal[FR]

Describe the feature you'd like

The command cmd-k does not clear the existing commands entered in the terminal like it does using the native macOS terminal.

Add a way to clear the terminal, preferably cmd-k.

Additional context

The clear command works but is more cumbersome than cmd-k.

[BR] Terminal Focus doesn't create new window

  • I have reset Atom to defaults prior to submitting report.
  • I have not reset Atom to defaults prior to submitting report.
  • I have tried uninstalling/reinstalling the terminal.
  • I have not tried uninstalling/reinstalling the terminal.

Description

@UziTech I see your test in the PR that should cover this case, so I'm not sure how this behavior is happening. But, after doing all the normal restarting/refreshing/reinstalling calling terminal focus still doesn't create a new window for me.

Steps to reproduce

  1. Open A Folder/Project
  2. Call the terminal-focus command with a keybind

Expected behavior:
New x-terminal window

Actual behavior:
If I call terminal-open it'll open up a new terminal in the bottom panel, but terminal-focus does nothing. (I have no other terminals open in any other pane). Errors in the console are a different extension (no errors from x-terminal).
Screen Shot 2020-10-07 at 10 11 48 AM

Reproduces how often:
100%

Versions

Atom : 1.50.0

OS name and version: Mac Sierra
Terminal version: 10.0.1

Uncaught Error: This API only accepts integers

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.45.0 x64
Electron: 4.2.7
OS: Mac OS X 10.15.4
Thrown From: x-terminal package 8.1.6

Stack Trace

Uncaught Error: This API only accepts integers

At /Users/kvad/.atom/packages/x-terminal/node_modules/xterm/lib/xterm.js:1

Error: This API only accepts integers
    at /packages/x-terminal/node_modules/xterm/lib/xterm.js:1:55468
    at Array.forEach (<anonymous>)
    at e._verifyIntegers (/packages/x-terminal/node_modules/xterm/lib/xterm.js:1:55412)
    at e.resize (/packages/x-terminal/node_modules/xterm/lib/xterm.js:1:52749)
    at e.fit (/packages/x-terminal/node_modules/xterm-addon-fit/lib/xterm-addon-fit.js:1:1704)
    at HTMLElement.refitTerminal (/packages/x-terminal/src/element.js:692:18)
    at HTMLElement.applyPendingTerminalProfileOptions (/packages/x-terminal/src/element.js:679:9)
    at IntersectionObserver.terminalDivIntersectionObserver.IntersectionObserver.root (/packages/x-terminal/src/element.js:107:10)

Commands

Non-Core Packages

atom-beautify 0.33.4 
autocomplete-js-import 1.4.0 
busy-signal 2.0.1 
color-picker 2.3.0 
emmet 2.4.3 
intentions 1.1.5 
linter 2.3.1 
linter-ui-default 1.8.1 
react-autocomplete 1.2.0 
terminal-plus 0.14.5 
x-terminal 8.1.6 

[BR] Terminal emulator settings order

  • I have reset Atom to defaults prior to submitting report.
  • I have not reset Atom to defaults prior to submitting report.
  • I have tried uninstalling/reinstalling the terminal.
  • I have not tried uninstalling/reinstalling the terminal.

Description

Currently the order is as follows demo shows Packages terminal settings then the profiles menu.

Steps to reproduce

  1. Open terminal settings
  2. Configure terminal for usage
  3. Observe somewhat illogical order.

generic

Expected behavior:

Options to follow a semi logic order.

Actual behavior:

Order is non logical.

I do have a proposal branch but its not ready yet. To be discussed there..

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.