Live data from Hacker News

Upterm – A terminal emulator and interactive shell based on Electron

github.com

41–50 of 127 posts

Re: Upterm – A terminal emulator and interactive shell based on Electron

#41

Electron... no thanks! I will wait for Alacritty, in the meantime iTerm2 and Terminal.app are there...

A bit off-topic but I wonder if it is possible that Electron team distribute something like the VS C++ Runtimes on Windows? And release patches for different versions/updates?

Haven't used a Windows machine for a while but I remember there were bunches of different VS Runtime version installed on my PC before. Some app installers came with a runtime installer, but if the required runtime version was installed it would just use that one. I think this might somewhat reduce the installed app size for Electron apps as at least some stuff got reused.

Re: Upterm – A terminal emulator and interactive shell based on Electron

#42

Earlier quoted context omitted.

I wish the same autocompletion could be achieved in ZSH. Then I wouldn't start this project at all. The problem with ZSH is that you have to * Make a decision you want completion. * Press tab for it to appear. * Guess when your token is precise enough to be unambiguous or else cycle through results. Not to mention fuzzy search. It may sound as not that much of an overhead, but it's so much slower than what I have in,…

https://github.com/zsh-users/zsh-autosuggestions Shouldn't be too hard to modify it to display completion data instead of entries from your history.

Thanks, I'll take a look at it. Although, it seems to only show a single best match, unlike IntelliSense.

Re: Upterm – A terminal emulator and interactive shell based on Electron

#45

Earlier quoted context omitted.

https://github.com/zsh-users/zsh-autosuggestions Shouldn't be too hard to modify it to display completion data instead of entries from your history.

Thanks, I'll take a look at it. Although, it seems to only show a single best match, unlike IntelliSense.

If you want to show all possible completions that's even easier: https://github.com/hchbaw/auto-fu.zsh

I prefer the other plugin though because it's less obtrusive.

Re: Upterm – A terminal emulator and interactive shell based on Electron

#46

I've not been able to find an adequate terminal emulator for Windows. I found Conemu clunky (maybe I needed to spend more time configuring it, but out of the box it was fairly ugly, and borked out under some curses applications and when using tmux), PuTTY/KiTTY to be lacking some important features (like tabs) -- ditto cmd.exe. IMO there's a real gap in the Windows market, be that a new terminal emulator entirely, or…

I use mintty with Cygwin. If you want tabs maybe you can try the fork called fatty.

Re: Upterm – A terminal emulator and interactive shell based on Electron

#47
post #38

Earlier quoted context omitted.

It's your choice, of course, but in my opinion Electron is the only decent cross-platform UI framework. Without Electron there would be no Linux version.

[...] Electron is the only decent cross-platform UI framework That's just not true. What about Qt, wxWidgets, Tcl/Tk, or even Kivy?

In my opinion, Qt and wxWidgets apps look ugly. At least I never saw one that looks beautiful.

Re: Upterm – A terminal emulator and interactive shell based on Electron

#48

> based on Electron. No thanks

It's your choice, of course, but in my opinion Electron is the only decent cross-platform UI framework. Without Electron there would be no Linux version.

Qt with QML and QtQuick? Also a nice cross-platform UI framework, supports JavaScript, and is highly performant.

JavaFX? Also a nice cross-platform UI framework, supports JavaScript, and is also better performant than Electron.

Also, both support HiDPI by default, and can be themed with CSS however you want them (in the exact same way that you could theme Electron apps)

Re: Upterm – A terminal emulator and interactive shell based on Electron

#49

Looks really cool! The only caveat is that I'm not sure I want to have another electron app chewing through 15% of my CPU...

Surprisingly it has pretty moderate resource usage. I have both iTerm and Upterm running on my laptop, here are the stats. Of course, your mileage may vary. https://imgur.com/a/bwD06

Running as in just having the app open and idling? Or is this comparing energy efficiency while actually using both apps?

Re: Upterm – A terminal emulator and interactive shell based on Electron

#50
post #38

Earlier quoted context omitted.

[...] Electron is the only decent cross-platform UI framework That's just not true. What about Qt, wxWidgets, Tcl/Tk, or even Kivy?

In my opinion, Qt and wxWidgets apps look ugly. At least I never saw one that looks beautiful.

Any Qt app can be themed with CSS (Qt calls it QSS) as if it was an HTML page, just like Electron apps can be. You can completely change the design, if you wish to.

So, in terms of design, there’s basically no major difference there.

Post reply on HN