Skip to content

u/mattandersen

In this archive from Sep 2017 to Jul 2023

0
posts
27
comments
0
media
136
score

Top comments

The terminal supports control characters that allow you to move the cursor back to the beginning of the line, or anywhere in the terminal for that matter.

From shell scripts you can use something like tput to position the cursor and then print over the existing output, and then it just looks like an update.

For a starting point to the concepts check out the Wikipedia article for the POSIX terminal interface

All languages should have some kind of library available, sometimes hundreds.

30 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.