15 ms·
iTerm2 has a new drawing engine that uses Metal 2
- eberkund 8y agoCool, I might give this a try and consider moving back to iTerm. I was using it previously but decided to go back to the default Terminal + Fish shell for better performance and not having to install an extra application.
- itchynosedev 8y agoI switched from iTerm to Terminal about a year ago, since I am using tmux for multiplexing and emacs for file management with magit. I don't really miss any iTerm features. Have to look up what's new!
- jakear 8y agoAgreed on using standard terminal. I’d like if someone could explain what utility they get out of iTerm (or any other non-builtin terminal). I’ve found the performance of iTerm in particular to be far inferior to builtin, especially when the buffer grows large. iTerm even has a fixed buffer size by default and still has worse performance. Alacritty is supposed to be fast, but then doesn’t support any scrolling, has a poor window resizing flow, and doesn’t have tabs. The suggestion is to use tmux for all that, but then Alacritty+tmux is slower than builtin. - “performance” above means smoothness of scrolling and general “perceived performance” type things. Haven’t actually tried any real tests.
- rys 8y agoMy favourite feature of iTerm is broadcasting keyboard input to multiple windows. I use that when doing certain kinds of server maintenance.
- breck 8y agotmux can do this too inside of regular terminal (where windows = panes)
- aroman 8y agofor me the #1 thing is the non-standard full-screen behavior, which lets my hit cmd+return and instantly full-screen the window, without any animation or creating a second workspace.
- nordsieck 8y agoYou might be interested in spectacle. It's a light weight window manager for os x that will let you do that (and more) with any app. https://www.spectacleapp.com/ https://www.spectacleapp.com/
- aroman 8y agoI use spectacle extensively, that's why I enjoy iTerm' fullscreen feature so much :-)
- reaperducer 8y agoCan't that be accomplished in any macOS terminal by redefining the application's keyboard shortcuts in System Preferences?
- aroman 8y agoIt's not about the shortcut, it's about the behavior. iTerm'a fullscreen behavior works fundamentally differently than the standard macOS fullscreen behavior (no animation, no dedicated space, etc). Much more like spectacle, but hiding the window chrome.
- tern 8y agoTo get this, you need to uncheck "Native Full-screen" in preferences
- reaperducer 8y agoUsing non-standard interface elements and methods is the #1 way to get me to stop using a macOS product. Your program has to be pretty darned special for me to learn a whole new set of muscle memory movements for it. Heck, I about dumped OS X when Apple changed the default application opening method. It used to be that when an application was loading and you switched to another window, the application opened behind what you were now working on. Or if you were working on something and another application in the background opened a window, you only got the jumping icon to let you know. Today, applications can hijack focus pretty much whenever they want, aping one of Windows' most annoying UI features.
- gnclmorais 8y agoThe ability to set a hotkey to toggle the terminal is a must. I assigned ± to it (i.e. pressing it will toggle the window).
- memco 8y agoFor me it’s the split pane features. I know tmux and screen can do this, but I feel like it’s a better experience in iterm.
- rikkus 8y agoI keep being told I must use iTerm2 and I have been. But I haven’t found anything it does that is better than the built in Terminal app. I’m going back to Terminal unless I find some reason to stick with it.
- saagarjha 8y agoNot everyone needs the features iTerm provides. I used to use Terminal for a long time, but now I use iTerm because it gives me nice things like shell integration and notifications when jobs finish.
- 52-6F-62 8y agoI’m a huge fan and every day user of tabs and split windows features in iTerm. Any performance hit for it for me has been negligible— save for one buggy update which was promptly fixed. I use tmux coupled with that, btw.
- ksudf 8y agoMy main reason is very simple, there is a setting to allow resizing the widow by pixel instead of but character, which means I can make the window fill all the available space on my desktop
- coldtea 8y ago>Alacritty is supposed to be fast, but then doesn’t support any scrolling, has a poor window resizing flow, and doesn’t have tabs. The suggestion is to use tmux for all that, but then Alacritty+tmux is slower than builtin. Alacrity is just an experiment at the time.
- dm3 8y agoThe one feature I miss most in Terminal.app is smart selection and automatic copy on double-click. For example, on double click the Terminal.app will select `path.txt` from `some/long/path.txt`. iTerm will select the whole thing and copy it to the clipboard.
- revscat 8y agoI do too, kinda, but I use tmux to copy text from the terminal into the clipboard, and have for years. The muscle memory around that is so ingrained now that I only rarely found myself using iTerm’s smart selection. It was nice, though.
- RayDonnelly 8y agoAlacritty are developing a scrolling feature. Should land soon ish.
- deleted 8y ago[deleted]
- jacobsenscott 8y agoI use iTerm simply because the standard emacs keybindings don't work in Terminal. I'm sure there's some configuration somewhere that can fix that. But iTerm is properly configured out of box.
- breatheoften 8y agoDo you mean the readline bindings (in bash shell) or do you mean when you run emacs? I usually enable the readline style keybindings system wide (move character forward/backward, move word forward/backward) using a custom DefaultKeyBinding.dict — but then typically have to figure out workarounds for programmer type applications which try to resupply these shortcuts expecting the keys to be bound to random Unicode characters rather than already rebound to the actions ... as I recall — with my customization the keybindings don’t work by default in iterm2 and I had to go in and change something to get the correct behavior (fortunately there is an option). Many programmery type applications have the same issue (fortunately it’s mkstly possible to customize them all). So it’s stjll possible to get the emacs keybindings at all text inswertion points systemwide — but it’s a hassle... In the glory days of OS X — pre 10.5, none of this was necessary — option-f option-b etc were just bound to the right thing by default rather than printing pointless Unicode characters ... I’m still annoyed by that change and by the fact that a bunch of complicated configurations are required to get the right behavior nowadays ...
- jacobsenscott 8y agoI mean the readline bindings in the shell, but I just launched terminal to see which ones don't work, and they all appear to work now. So maybe that's been fixed. That's great it if works. I don't use any of iTerm's bells and whistles.
- sirn 8y agoIf you meant Meta keys doesn't work in Terminal.app, then the option is in Preferences → Profiles → (Choose your profile) → Keyboard → [/] Use Option as Meta key
- fiddlerwoaroof 8y agoMy favorite feature of iterm2 is that it can detect borders and confine the selection within them (e.g. only selecting one side of a tmux or vim split). This means I don’t have to bother figuring out how to synchronize the clipboards of OS X and various terminal apps, for most use cases.
- throwaway287391 8y ago> Agreed on using standard terminal. I’d like if someone could explain what utility they get out of iTerm (or any other non-builtin terminal). For me it's simply that I couldn't get custom colors (e.g., the Solarized Dark theme) to display correctly with built-in Terminal. I haven't tried in 5+ years though -- maybe it's fixed now, and/or maybe I was doing something wrong at the time. But iTerm "just worked", and I never noticed performance issues so once I switched I never looked back. shrug
- 101km 8y agoThat is actually fixed now.
- throwaway287391 8y agoCool, thanks -- maybe I'll give built-in Terminal another whirl at some point then.
- cseelus 8y agoSeems macOS Terminal app still hasn't True Color support. Tried running https://github.com/tclamb/iTerm2/blob/d0ecb297727a59c9ee551144caeade675d9ae04b/tests/24-bit-color.sh https://github.com/tclamb/iTerm2/blob/d0ecb297727a59c9ee5511... both in Terminal app and iTerm 2, and only iTerm 2 shows all colors, whereas Terminal app still shows only some colors. My VIM themes also look more bleak in the default Terminal app.
- kccqzy 8y agoSome features I just can't live without: * tmux integration. Whether I'm in a remote server or my own machine, just use -CC and I can now use tmux with the same keybindings I would use without tmux. * Watch for the completion of a command. Especially useful if you happen to be using a language with a slow compiler like Haskell or Rust. Plays a nice ding when the command is done. (This may require shell integration). * Even if you forgot to run your command with time, iTerm can still tell you the wall clock time of your command. (Shell integration too). And then just small things that the builtin Terminal doesn't have: * focus follows mouse * smart selection (for example it could detect a URL and you can select the whole URL, then command-click to open) * copy on select
- arh68 8y agoJust wanted to note: focus follows mouse is possible with Terminal.app with defaults write com.apple.Terminal FocusFollowsMouse -bool true [0] https://stackoverflow.com/questions/98310/focus-follows-mouse-plus-auto-raise-on-mac-os-x https://stackoverflow.com/questions/98310/focus-follows-mous...
- crehn 8y agoRegarding watching command completion, I built a tool for that purpose [1]. I use it mostly when working through SSH on the go and with slow connections. [1] https://github.com/hoffa/pingu https://github.com/hoffa/pingu
- jakear 8y agoTo be fair, the shell itself can tell you the wall clock time. I have fish doing that for me on Terminal.app.
- BlackFingolfin 8y agoThings I love in iTerm include the following: * cmd-click on URLs or filenames to open them in my browser resp. editor -- even recognizes "FILENAME:LINE" to jump to the right line in my editor, which is super useful for errors printed by a compiler * changing the theme when using SSH and/or root, so I don't accidentally issue commands on the wrong machine or as root * split views * lots of other, often "small" features, which I can't think of right now but which I usually notice quickly if forced to use Terminal.app
- jsmeaton 8y agoThe main iterm features I use extensively are split panes, broadcasting, and profiles. CMD+O brings up the profile switcher, type the tag I want and hit enter. Profiles let you configure cwd, commands to run (virtualenv activation), theme colours, and a bunch of other things. My “prod” profile ssh’s into a management box, sets the background to pink, and puts a “PROD” badge in the top right corner.
- stuuuuuuuuu 8y agoIn my case, iTerm2 can do more sophisticated keyboard remapping than the standard terminal. Specifically: I have Caps Lock globally remapped to Command. Except, in iTerm, it acts as Control. Except, if I'm using some specific combos, like Cmd-Tab or Cmd-`; then it acts as Command again.
- Crazor 8y agoOh wow, great idea! Now that I'm working more often with linux, I kinda got Caps+C etc. in my muscle memory, because I set Caps as Ctrl. When I switch back to macOS, it takes a while of wondering why my shortcuts won't work. Care to explain how exactly you set this up? I guess in System Preferences -> Keyboard you set Caps to Cmd. And then?
- stuuuuuuuuu 8y agoIn iTerm Preferences, Keys, set Left Command to Control, then in the Key Mappings list, add each Cmd-xyz combo you want to preserve, and set its action to "Do Not Remap Modifiers".
- klum 8y agoI like Terminal, but a very specific feature of iTerm2 I wish Terminal had is using one of the option keys as meta, while letting you keep the other for typing characters like "@" on some non-english keyboards.
- sbjs 8y agoThis is great! One question: when would you need 60 FPS in a terminal? What CLIs or usages does this make a difference for?
- anik3t__ 8y agoThis is useful while catting a large file/tcpdump on an interface with lots of packets, etc.
- artursapek 8y agoIf that benefits from 60fps, doesn't that imply that it's too fast for you to read in the first place?
- toast0 8y agoIt's possible to look for anomalies in scrolling text that's passing by much faster than can be read. (I'm not convinced that requires opengl, but one reason I use iterm is because doing this on terminal with default settings quickly freezes because of infinite scroll. I presume you can turn that off, but easy copy/paste and minimum contrast settings are nice too. Also, the progress meter on large pastes is suprisingly useful.
- anik3t__ 8y agoTrue. I have set triggers that color the text / give out osx notifications if there is a string somewhere like Error/Exception.
- dev_dull 8y agoIt’s easier on your eyes to follow and just looks aesthetically better also.
- mynameisvlad 8y agoIs it? Playing around with the Metal renderer and FPS monitor, I rarely go above 30fps in day-to-day work, and most of the time I'm hitting 10-15fps. There's only certain use cases where you'll actually reach 60fps.
- sk_hazratali 8y agoThanks for d information. https://www.sherekhudahazratali.com/2018/07/hazrat-muhammad-ka-zaahiri-husn-o-jamaal.html https://www.sherekhudahazratali.com/2018/07/hazrat-muhammad-...
- dbz 8y agoIs there somewhere we can view the feature roadmap for this? Will iTerm2 support ligatures at some point in the future? I'm also interested in future performance enhancements, and a comparison to terminal.
- empath75 8y agoIt supports them now. I use fira code.
- mynameisvlad 8y agoPer the article, the Metal 2 renderer doesn't support ligatures, transparency, and a few other nice-to-haves.
- danielvf 8y agoThe original asker asked, "Will iTerm2 support ligatures at some point in the future?", so it was indeed a helpful answer to know that it does support ligatures.
- mynameisvlad 8y agoI mean, within the context of this thread, it's pretty obvious the original question is asking whether ligatures would be supported in the Metal renderer, since it's explicitly listed as something not supported in the article, and since the asker is asking for the "feature roadmap for this".
- memco 8y agoYeah, I’m wondering about this too. I like transparent windows and font ligatures so as much excitement as I have about this, I won’t be able to use it unless these limitations can be eliminated. I’ll keep using iTerm regardless, but it would be nice to see the benefits become available for my setup as I do notice the performance issues.
- coldtea 8y ago
- nodesocket 8y agoArgg, now do I disable transparent background windows to support it?
- Exuma 8y agoI think so :(
- dev_dull 8y agoAfter trying out alacritty[1] and seeing just how good gpu-accelerated terminal could be I’ve been eagerly awaiting an update like this from iterm. I really wish iterm was cross platform. I’ve realized when switching between Mac and Linux how important the terminal is to my development and quality of life. 1. https://github.com/jwilm/alacritty https://github.com/jwilm/alacritty
- davrot 8y agoI would recommend kitty[1] as well, it certainly has more features than alacritty, like opening links via keyboard using hints. 1. https://github.com/kovidgoyal/kitty https://github.com/kovidgoyal/kitty
- lima 8y agoJust had a look at their docs: https://sw.kovidgoyal.net/kitty/remote-control.html https://sw.kovidgoyal.net/kitty/remote-control.html Cool, it even works over SSH! Wait, what? This lets a remote server take over your workstation.
- cweagans 8y ago...so don't enable that feature? It's off by default AFAICT.
- sbilstein 8y agoif you're able to get an ssh tunnel going to the machine...i think you already have control over the server
- danielvf 8y agoThis optional feature is the other way around. When you turn it on, the connect to a remote servers, that remote server can run commands on your local box.
- reaperducer 8y ago
- floatingatoll 8y agoWhat frame rate does the built-in Terminal.app perform at in macOS 10.13?
- saagarjha 8y agoIt's doing 60 FPS; I just checked.
- electricslpnsld 8y agoOut of curiosity how does one measure the frame rate of the terminal on macOS?
- snuxoll 8y agoNever benchmarked a virtual terminal before, but wouldn’t one basically use a timer and a bunch of unbuffered+blocking writes to stdout to determine how fast the terminal is drawing?
- entropie 8y agofrom the link (Prefs > Advanced > Show FPS meter)
- electricslpnsld 8y agoThat's an iTerm2 specific feature.
- saagarjha 8y agoThis only works for iTerm, and only when using Metal.
- derefr 8y agoThere’s probably some software tool to give you an internal perspective on it, but if you want to “prove” your frame rate for any application, there’s one obvious way: 1. make the app full-screen; 2. make the app constantly vary the screen output as often as it can; 3. capture the HDMI output of your computer with a hardware video capture box[1]; 4. use some scriptable video software to calculate, for the captured video, how many distinct frames (i.e. changes in content from the previous frame) it contains per second, on average.[2] —— [1] you could also substitute a high-speed camera pointed at your monitor (necessary when the limiting factor is monitor refresh rates.) [2] Conveniently, if the capture box emits video in a format with inter-frame compression, you can do the new-frame-counting at a low level, without decompressing the video. You parse through the video stream, discarding the “no change” I-frame chunks, and then count the remaining frame chunks grouped by the start-timecode field cast to seconds. Which is, I assume, what OS file-indexing services do to calculate a video’s FPS, for those that do. This answer is slightly high in the case that you’ve got no-change keyframes in the stream, but it should average out to essentially the same number in any video longer than a few seconds.
- z3t4 8y agoIs there any side-by-side video comparison ?
- pacuna 8y agoIterm is probably the only thing I miss from MacOS when I'm on my Linux machine.
- _asummers 8y agoWhat IS the closest comparison in Linux land, out of curiosity? I'm using Terminator. It's ok, but I feel no particular allegiance to it.
- alfalfasprout 8y agoCheck out terminology or alacritty. Linux has a wealth of excellent terminal emulators that IMO vastly outperform iTerm from both a performance and functionality perspective.
- patrec 8y agoA non-exhaustive list of iterm2 features: - killer tmux integration (tmux sessions on a remote machine behave like normal tabbed panes, no idiotic prefix-key, broken scrolling and selection etc. etc.) - the ability to rebind just left or right command keys to meta (and leave the other one working for "normal" copy and paste etc.) - instant replay and generally very sophisticated output and output history handling (e.g. it's trivial to copy the last command's output or autocomplete from output history, all via keyboard shortcuts). - annotations - command click to open e.g. files output by ls (which requires keeping track of cwd at output time) - input broadcasting - simultaneous search across all terminals - mature and polished (renders unicode, including line drawing characters reliably, deals with large output history and many tabs etc. just fine) - image output Alacrity (whilst interesting) has precisely zero of these features. In fact I'd already be delighted to find a single linux terminal that has tmux integration.
- dandigangi 8y agoHas anyone had performance issues with iTerm? What were you doing? I haven't had issues yet so I'm curious.
- bostonvaulter2 8y agoI switched back to Terminal.app due to performance issues earlier this year. Things were just feeling laggy and slow, especially with Tmux.
- dandigangi 8y agoAh, ok. Sounds like Tmux was an issue for a few people.
- revscat 8y agoI switched to using Fish as my shell about a year ago, and there were some performance issues with it and iTerm, at least with my default fish/tmux/vim/vimux setup. I don’t rememeber what it was exactly, I just remember that switching to stock Terminal.app made it go away. I may try this iTerm beta just to see if it fixed it.
- dandigangi 8y agoInteresting! I also use Fish primarily. ZSH sometimes and flip back to Bash when it doesn't work well with Fish but still haven't seen issues. Thanks for sharing.
- Moter8 8y agoHow come it gets disabled when not charging/plugged in? Why not let me choose? Especially when I would want to test it right now, sitting here on my bed. :)
- gigatexal 8y agoWhen describing the frames you are getting from the built in terminal it might be helpful to list the specs of your machine and how it’s being used: clamshell or not. Also how are you all getting the FPS count from terminal?
- saagarjha 8y agoThere are meters that tell you how many frames per second your GPU is pumping out.
- somedudeatwork 8y agoI've been using this for the past couple months by using the nightly releases. it has been insane how much higher quality vim feels when you get 60fps scrolling and no banding
- hellofunk 8y agoOne thing I've never been able to get iTerm to do that every other iTerm user seems to have setup almost automatically is how it ghosts the full completion of a command you are typing (faded behind your live typing), presumably from your history, and then you can just tab to complete the whole thing. So many commands are repeated often and I've never been able to get mine to do this very basic feature.
- baliex 8y agoI thought that was a zsh thing rather than an iTerm2 thing. You can use zsh in iTerm2 though.
- hellofunk 8y agoHm, that must mean everyone I know is using zsh and I didn't realize that... that strongly suggests I should use it too!
- s3m4j 8y agoZsh and fish are, imo, much better environments than bash. And bash, once tamed, due to its ubiquity, is a better choice for scripting.
- minusf 8y agonot my choice. certainly less people suffer bash in the BSD world. while bashims may give additional features, readability and portability suffers. I much prefer scripts using a posixish #!/bin/sh and a strict subset of shell syntax. something like pdfx.
- s3m4j 8y agoThat's why I emphasized "choice", using sh for scripting is a valid choice.
- h1d 8y ago
- Exuma 8y agoNo transparency :(
- pacomerh 8y agoI tried this feature in the nightly version and kitty[1] and alacritty[2] still feel faster than iterm2. 1. https://github.com/kovidgoyal/kitty https://github.com/kovidgoyal/kitty 2. https://github.com/jwilm/alacritty https://github.com/jwilm/alacritty
- abledon 8y agoboth of these projects need a 1080p youtube video on their homepages to show __WHY__ i need blazing fast GPU support for a terminal
- pacomerh 8y agoHehe Yeah that's what I did actually, granted I'm a heavy vim user and feel the difference very quickly while switching between files, scrolling, etc. But yeah I did in fact recorded video and saw the delta there. I'm sure for most people iterm2 is a more than enough choice.
- Q6T46nT668w6i3m 8y agoI’m curious, as a non-terminal editor person, are there any other applications where you can see or feel the benefit?
- gnachman 8y agoiTerm2 was not designed for GPU rendering from day one so it suffers from some complexity that hurts performance. This will get better in macOS 10.14 because I won't have to worry about subpixel antialiasing which adds some extra steps (details here: https://docs.google.com/document/d/1vfBq6vg409Zky-IQ7ne-Yy7olPtVCl0dq3PG20E8KDs/edit#heading=h.6vli631jkais https://docs.google.com/document/d/1vfBq6vg409Zky-IQ7ne-Yy7o...). There's also a lot of preprocessing to do before sending work to the GPU. For example, computing the color of each cell is a very complex algorithm because foreground and background colors interact with each other and also determine the font. For example, you can enable thinner strokes only when it's light text on a dark background. Work can't be sent to the GPU until the text is rendered into a texture, which means colors must be known. There's room for optimization here for common cases, but I haven't taken that on yet. My goal for 3.2 is for it to be an improvement over the legacy renderer and a solid foundation for iteration in the future.
- ninkendo 8y agoIt still seems to take a long time to cat a file in iTerm compared to Terminal.app. In Terminal, I can cat a 1.5M line file in about 5 seconds, it takes about twice as long in the new iTerm beta. But iTerm is certainly updating the screen more often than Terminal (it looks smoother at least), so maybe that's because Terminal is doing a better job of allowing the screen buffer to update independently of the drawing thread.
- hinkley 8y agoThis might seem specious to some people but there have been at least two intervals in my career where I ran into bad benchmarks of our app, because the person doing the measurement was running it in the foreground on a subpar terminal where writing to console was the bottleneck. Occasionally, but less frequently, you can run into a similar symptoms just running build scripts.
- waterhouse 8y agoI remember this from the SBCL docs: "Important: It is highly recommended that you run the make.sh script in either a very fast terminal such as xterm (the GNOME terminal and the OS X terminal are too slow) or that you run it in a detached GNU screen session (use C-a d to detach the session and screen -r to resume it). The SBCL compile produces lots of output and your system's terminal program will likely slow down the compile in a drastic manner." http://www.sbcl.org/getting.html http://www.sbcl.org/getting.html
- sah2ed 8y agoOT: There's a related question on StackOverflow where the same program had different runtimes on different terminals. https://stackoverflow.com/a/21947627 https://stackoverflow.com/a/21947627
- nvahalik 8y agoIs there a way to know if you're actually using the GPU renderer? Because it seems like there are several reasons why it might not be used...
- bnolsen 8y agoNice but can they make it so iterm2 doesn't always change the width of the terminals by 2 almost every tine i plug the macbook pro i use into the dual monitors at work?
- ztjio 8y agoYou have a non-touchpad mouse on a dock there that you're plugging into? If so, you can stop this kind of annoyance by setting scrollbars permanently on (or off) rather than auto in System Prefs->General. Actually, try it anyway as when I first ran into this fix for such things, I didn't have what I thought was a mouse connected, but actually some non-mouse USB device reported to macOS that it also had a mouse on board for some reason.
- bnolsen 8y agoThanks for the reply. I'll try this since this morning one of my desktops had set all its terms to 72 wide, another to 74 & 78.
- gnachman 8y agoIt’s a very hard to fix bug when restoring windows when the scroll bar style doesn’t match. I should revisit this.
- evmar 8y agoI fiddle in this area as a hobby project. One thing I never understand when I read announcements like this is why the graphics performance affects the throughput. Like in a video game, the world moves at the same rate regardless of the frame rate, so why are the two related here? In some of my experimental terminal emulators I've decoupled these and it's not so hard -- there's a piece that processes command output as fast as it can, and then there's another piece that updates the screen as fast as it can, and as long as those two pieces are decoupled then even if your graphics hardware is 5fps it's still fast to cat a file.
- tomc1985 8y agoUnless the programmer specifically decouples graphics from the rest of the program, anything that renders to the screen will have to wait for that command to finish drawing. It will effectively govern the throughput of any program that both prints lots of text to screen and is not appropriately multithreaded.
- crawshaw 8y agoEvan knows that. His question is why isn't it normal for the graphics to be explicitly decoupled in terminal emulators that care about draw performance.
- altfredd 8y agoWrong. Splitting logic into separate threads is not necessary. In order to make the engine independent from FPS, you have to decide, how to handle excess/missing output. You can buffer, transform, average or simply drop excess frames. Missing frames can be worked around by repeating previous frames or reducing effective resolution (often done with a bit of blur — hi, Nvidia!). In either case there are limits to what can be achieved with those workarounds — eventually you'd have to throttle the fastest producer (renderer, physics engine or player input). All of that can be done just fine without threads — using asynchronous programming (incidentally, this is why many advanced rendering APIs are asynchronous). Most games can simply "drop frames", when renderer isn't up to speed with engine. The result is minor loss of visual fidelity, which usually isn't too bad, unless FPS are horribly low. Things are more tricky for terminals, because 1) they need to maintain scrollback history 2) their output is more blocky, so "dropping frames" leads to horribly-looking ASCII animations. There are some terminals, that do start dropping output, when rendered can't keep up. Others (for example, xterm) do refuse to do that by default, because they assume, that underlying program may do better job at handling low framerate, than general-purpose terminal emulator. Either way, if you want to achieve fluid, visually pleasing rendering, you renderer should be as fast as possible.
- yosito 8y agoI use iTerm 2 daily. What are y'all doing in your terminals that this kind of thing would matter at all or even be perceptible?
- lotyrin 8y agoDwarf fortress.
- jimpudar 8y agoIf you maximize on a 4K monitor and use tmux on a remote server there is a pretty significant amount of latency. I never noticed until I tried alacritty, the difference is astonishing. That being said, iTerm2 is plenty fast enough for my purposes as it is today.
- adamnemecek 8y agoMemory consumption and cpu usage will go down noticeably. If you have 20 tabs open it can add up.
- CodeWriter23 8y agoScrolling.
- darthdeus 8y agoVIM, and overall just being fast. It is extremely perceptible, especially if you ever use something like Arch Linux + st (or one of the faster terminals). iTerm is slow as shit compared to that.
- swoongoonz 8y agoIt's crazy to now see open source projects on Gitlab after the whole Microsoft purchase of Github.
- avprpl 8y agoWhile this may be broadly true, if I remember correctly, iTerm2 has been on GitLab since before the acquisition.
- nahtnam 8y agoHow come it says that it's mirrored from GitHub and "The repository failed to update 8 months ago. Repository mirroring has been paused due to too many failed attempts, and can be resumed by a project master." Seems like they are still using GitHub but use GitLab for the wiki?
- sytse 8y agoThey use GitLab for the issues I think.
- gnachman 8y agoGithub’s issue tracker is lousy so issues have been on gitlab since google code slipped this mortal coil. I don’t want to lose my GitHub stars so code remains there. I guess there’s not much reason to change it now even if github does improve.
- codeCatalyst 8y ago> Ligatures are very hard to support in a GPU-based renderer. Why?
- gnachman 8y agoYou have to analyze a row of text at once to reorder glyphs, which is expensive and cannot be parallelized.
- Myrmornis 8y agoVery satisfied iTerm2 user for 7 years here. My biggest question about iTerm2 is: what is the difference between Preferences (⌘ ,) and Edit Session (⌘ I)? The Dynamic Profiles feature is fantastic -- being able to version control a subset of the configuration document is exactly what I wanted to be able to do. But I'd like to understand the settings interface/model/schema better.
- gnachman 8y agoEdit session divorces the session from its underlying profile so you can make local changes to it only
- Myrmornis 8y agoThanks, and thanks for iTerm2! Btw, I have two 90% complete iTerm2-related projects that I might mention on the mailing list at some point: https://github.com/dandavison/iterminator https://github.com/dandavison/iterminator https://github.com/dandavison/iterm2-dwim https://github.com/dandavison/iterm2-dwim
- Fannon 8y agoIs there any decently fast and simple terminal emulator for Windows? VSCode / Hyper 2 are GPU accellerated and are really fast once loaded. Because of their use of Electron they are not excactly fast to load, though.
- mahgnous 8y agoHas rendering text become too complex for a mac?
- deleted 8y ago[deleted]
- rurban 8y agoUsing it for a month. It's indeed much faster. But the old annoying bug to block indefinitely on an accidental wrong Ctrl-Enter keystroke is still there, since about a year. The regexp detection is also pretty unstable and can block the window. Either the Semantic History or url detection.
- azr79 8y agoNo ligatures and no transparency, kind of a deal breaker and a step back, isn't it?
- gnachman 8y agoIt falls back to the old renderer in these cases. Transparency will be supported in Mojave.
- aschneid 8y agoThere's currently a bug with multi-GPU based MBPs and the new metal renderer. The new metal renderer causes it to always use high performance graphics whether plugged in or not. I had to debug why my battery was dying faster than usual and traced it back to iTerm2 and the metal renderer. The developer was working on the fix, but I have not seen a fix announced in the release notes yet.
- runeks 8y ago> It is also temporarily disabled under certain conditions: > [...] > When your device is not plugged into a charger. This is controlled by Prefs > Advanced > Disable Metal renderer when not connected to power. Why is the GPU renderer, by default, disabled unless plugged in? I’d assume the GPU renderer uses less power...
- gepeto42 8y agoCould it be that waking up the discrete GPU, on laptops that in some cases disable it by default on battery power, takes more juice than rendering in software on the CPU? Though I wonder how many MBPs in circulation have the dual-GPU configuration...