Repository navigation
TGK 0.4.0
Added
- Retro color schemes: Amber CRT (an amber phosphor monitor: every color a shade of amber, told apart by
brightness), Commodore 64 (its 16 colors on the blue screen), MS-DOS (IBM CGA's colors on black), Synthwave '84
(80s neon) and Teletype (ink on paper). - VT323 font (after the DEC VT320's) is bundled and offered with the terminal fonts; it suits the retro schemes.
It is scaled so a font size looks alike in it and in DejaVu Sans Mono, and bold text is drawn bolder. - Full screen:
F11(or "Full screen" in the account menu) makes TGK cover the whole monitor it is on, without
the window's title bar and the system taskbar;F11again puts the window back as it was (size, place, maximized).
F11 is now TGK's own key: it no longer reaches the terminal. - Local terminal: a tab with a shell of this computer, next to your SSH sessions (in a split view too): "Local
terminal" on the new-tab page,Ctrl+Shift+Enter, or "New local terminal" in a tab's menu. Linux and macOS run your
shell ($SHELL) in a real terminal (vim, htop, Ctrl+C, job control); Windows runs PowerShell 7 or Windows PowerShell,
or Command Prompt, WSL or Git Bash (ConPTY, Windows 10 1809 or later). Settings → Terminal picks the shell, on each
device. It uses your default terminal settings and starts in your home folder;exitcloses the tab. "Reopen my
tabs" reopens it as a shell of the device you sign in on. Agents never see local terminals. - Drag a saved host from the sidebar onto the content area to open it right where you drop it: beside a pane, in
a new split view, in place of a new-tab page, or onto the tab strip for a new tab. - Run a command on many hosts: right-click a group in the sidebar → Run a command on all hosts… (also on
Ungrouped, or right-click a host → Run a command…) opens a tab that runs one command on all the checked hosts at
once, 10 at a time; its list has every saved host by group, to check or uncheck hosts and whole groups. Each host is
reached as a terminal would be (jump hosts, saved credentials, host-key checks); the command runs without a terminal
and with its input closed, so one that waits for input ends instead of hanging. The list shows each host's progress
and exit code, and each host's output appears beside it as it finishes (errors in red, colors kept, other escape
sequences dropped), or one host's output alone when you click it. As root (sudo) runs it through sudo (the saved
password is tried first), Stop after sets a time limit, Stop ends the run. What the vault lacks (passwords, sudo
passwords, unknown host keys) is asked one prompt at a time; "Use it for the other hosts of this tab too" spares
typing the same password again. Typed passwords are kept in memory only, until the tab closes. ↑ / ↓ in the command
field recall the commands run before.
Changed
- Split view drag and drop: while a tab, a pane's title bar or a saved host is dragged over the panes, the split
view shows how it will look if you let go there, the new pane growing in from its side. Near a pane's outer edge it
goes beside that pane only; along a divider, between the two panes it separates; at the outer end of a divider,
beside everything that divider separates (e.g. a full-height pane right of two stacked ones); in the middle of a pane
it swaps two panes of a split view, or fills a new-tab page. Nothing is drawn elsewhere, and dropping there does
nothing. - Update check: TGK now asks GitHub for a newer version on every start, in the background as it starts (nothing
waits for the answer; the last one shows until it arrives), instead of at most twice a day and only 45 seconds after
the window opened. A new nightly build is seen at the next start. - Color schemes: the scheme shown on the first card (the default, or the one inherited from the group or the
defaults) is no longer offered a second time; TGK Dark no longer appears twice in Settings.
Fixed
- Terminal scrollbar: its thumb can now be dragged to scroll through the history, and a click on the scrollbar
jumps there; before, only the mouse wheel scrolled. Pointing at the right edge of a terminal with history shows the
scrollbar (wider), also when it is not scrolled back. - Settings, New host / Edit host, group settings: the first of these dialogs in a run no longer freezes the window
for seconds (and no longer adds hundreds of MB of memory) on systems with many fonts installed, as is common on
Linux. The terminal font list now opens only the fonts whose name suggests a terminal font, and is built in the
background at startup; a font chosen on another device and installed here still works even if it is not listed. - High-resolution displays: TGK now follows the display's scale (Windows' Scale setting, e.g. 175% on a 4K
screen; Xft.dpi on Linux). Text and everything else were drawn at 100% there and looked tiny. The window opens at
the scaled size, and moving it to a display with another scale, or changing the scale while TGK runs, rescales the
UI. macOS already scaled correctly. (Blossom 0.1.8, the UI library, now does this itself.) - Sharper text and lines: text in the UI and the terminal is now drawn with subpixel antialiasing (like ClearType
on Windows) instead of grayscale, which looked blurry next to other apps. At a fractional display scale (e.g. 125%)
borders, separators, the text cursor and icons are aligned to whole screen pixels, so a 1px line is no longer
smeared over two. (Blossom 0.1.9; macOS keeps grayscale text, as macOS itself does.) - Files: the folder shown now updates by itself when its contents change elsewhere (e.g. a file created from a
terminal or by another program): while the pane is on screen it is listed again every few seconds in the
background, and right away when you come back to it. Selection, cursor and scroll stay put; very large folders
are checked less often. Before, only Refresh (F5) showed such changes. - Sign-in screen: a note now says that these fields are the TGK account's and that SSH passwords and private keys
are set for each host after signing in; the password-only form was taken for the SSH login.
What's Changed
- Marketing: presentation video for YouTube, built from code by @AlexandruMindra in #2
Full Changelog: v0.3.0...v0.4.0