Commit graph

1048 commits

Author SHA1 Message Date
Luke Smith
ae9739faed alt-shift-j/k zoom bindings b/c why not lmao 2018-05-01 15:01:58 -07:00
Luke Smith
f6ecf743ab cleaning 2018-05-01 14:42:15 -07:00
Luke Smith
cd357e5c67 Big cleanup and some redundant bindings added 2018-05-01 14:36:36 -07:00
Kornelije Sajler
60ea12d971 Updated few minor changes in README. 2018-04-25 22:58:56 +02:00
Kornelije Sajler
67940f05e5 Updated README with few more info. 2018-04-25 22:53:54 +02:00
Kornelije Sajler
582549f486 Updade README with more info no custom changes.
Updated config.def.h with my/luke preferences. Font=14px, alpha=0xcd, colorname[]=pop_os-inspired.
Changed values for bg,fg and cursor using 256, 257, 258 indexs from colorname[].
Patched with luke's keymapping's.
2018-04-25 22:49:04 +02:00
Kornelije Sajler
0ad3d4eddf Updated st 0.8.1. Used new patches, scrollblock and alpha fixed.
Created run-patches.sh, runs all patches on clean st 0.8.1 code.
All old patches remvoed, including trasparency diff.
Not including solarized theme, don't see value of it.
Commented colornames array with color indexs from 0-15, includes index 255, and afterwards bg, fg and cursor, change those for background, foreground and cursor color. Seems better than solarized toggle.
Updated README.
2018-04-25 22:15:11 +02:00
Luke Smith
efad574780 transparency more opaque 2018-03-12 10:57:47 -07:00
Luke Smith
8c0ade2c1e transparency now default 2018-03-10 19:52:41 -07:00
Luke
3ffde570e0 transparency explanation added 2018-02-05 21:33:39 -07:00
Luke Smith
23a6f74157
Merge pull request #1 from PhilipNelson5/patch-1
spelling
2018-01-30 15:04:20 -07:00
Philip Nelson
9ade6ae63a
spelling 2018-01-21 17:42:14 -07:00
Luke
f684e44e69 readme changes 2018-01-21 12:15:29 -07:00
Luke
858a34ade6 readme explains transparency installation 2018-01-19 14:32:00 -07:00
Luke
5d1d32f571 fixed transparency patch added 2018-01-19 14:22:14 -07:00
Luke
1cfd5953dc redundant readme line removed 2018-01-18 19:39:23 -07:00
Luke
167a334f2c alt-u & alt-d: up & down in history; readme update 2018-01-18 19:33:28 -07:00
Luke
8b29be268a fix of brainlet error, formatting fix too 2018-01-18 19:21:15 -07:00
Luke
4f508ec001 formatting 2018-01-18 19:17:13 -07:00
Luke
3cb5996688 alt-j/k for scrolling up one line at a time 2018-01-18 19:05:49 -07:00
Luke
61824fc462 key bindings stated in README 2018-01-18 08:51:08 -07:00
Luke
234972a077 readme now personalized 2018-01-18 00:01:16 -07:00
Luke
a9b51e4ec0 color toggle now Alt-Tab instead of F6 2018-01-17 23:55:00 -07:00
Luke
74e54e0ccc mono default font, 14pt 2018-01-17 23:53:56 -07:00
Shiva
c50850028b Enable travis build 2017-01-30 20:14:38 -08:00
Shiva
b1e1a6e993 Add badges 2017-01-30 20:11:57 -08:00
Shiva
5d52a549f9 Merge pull request #2 from gitter-badger/gitter-badge-1
Add a Gitter chat link to README
2017-01-30 19:53:26 -08:00
The Gitter Badger
778e1f0cf7 Add Gitter link 2017-01-31 03:51:55 +00:00
Shiva
97e27bc64d Update readme with details about patches 2017-01-29 21:59:15 -08:00
Shiva
efde1e896e Solarized support + switch with F6 2017-01-29 21:53:07 -08:00
Shiva
e0a07a9392 vertically center lines in space available 2017-01-29 21:40:45 -08:00
Shiva
10bf3c8507 Scrollback + wheel support 2017-01-29 21:39:12 -08:00
Shiva
6833411400 clipboard support 2017-01-29 21:35:17 -08:00
Shiva
7549ffd200 Clean generated config.h 2017-01-29 21:16:22 -08:00
fpqc
c63a87cd93 Move column and row default numbers into config.h 2016-12-16 10:50:23 +01:00
Roberto E. Vargas Caballero
e44832408b Revert "Initial font size issue."
This reverts commit 424202798b.
2016-11-24 20:21:19 +01:00
Spencer Phippen
fa9a459972 Fixed 'missing glyph doesn't use fontconfig config substitutions' bug
XftFontMatch does display-specific font configuration (commit 528241a).
Nice. Unfortunately, when we switched from FcFontMatch, we also stopped
storing the post-Fc{Config,Default}Substitute FcPattern for future
lookups. The result is that if a glyph isn't found in the primary font,
secondary font lookups use the original FcPattern, not the configured
one. If you have custom fontconfig rules (like me), this can be
disappointing.

I basically just copied the guts out of XftFontMatch[1] and saved
the intermediate configured FcPattern. Could be related to the bug that
inspired commit 4242027.

[1]: https://cgit.freedesktop.org/xorg/lib/libXft/tree/src/xftfont.c
2016-11-24 20:20:45 +01:00
Manuel Tobias Schiller
740ada1447 make the various combinations of arrow keys and shift/control/meta work
When using st with screen, I've bound next, prev, new screen to
combinations like Ctrl-Alt-Right,Left,Down; xterm and (u)rxvt work fine
when this combination of modifiers is pressed, st does not seem to
transport all of them; a single modifier key is fine (e.g. Ctrl-Up,
Alt-Down etc., but combinations are not). While I'm not terribly
familiar with this, I have tried to hack config.h in a more or less
systematic way to generate the expected sequences.
2016-11-14 19:58:02 +01:00
ian@remmler.org
424202798b Initial font size issue.
Hi,

When I specify a font by point size (I'm using "Inconsolata:size=12"),
characters that are substituted from another font because they are not in the
main one appear too small.  Doing a zoom reset fixes it.  For example:

Before: http://i.imgur.com/G4Mfv4X.png
After:  http://i.imgur.com/PMDhfQA.png

I found that adding the pixel size (acquired from the initial font load) to the
pattern then reloading the font fixes the problem.  I'm not sure if this is a
proper fix, though.
2016-11-14 19:27:55 +01:00
pl@ninthfloor.org
3ca7249c86 tic -s -> tic -sx (Treat unknown capabilities as user-defined.) 2016-11-14 19:05:47 +01:00
pl@ninthfloor.org
06f8cf8ca8 Add tmux capabilities to st.info 2016-11-14 19:05:11 +01:00
pl@ninthfloor.org
902a392b90 Make strdump(), csidump(), print to stderr
The two functions strdump(), csidump() are called to show errors and
their output is introduced by a message printed to stderr. Thus, it it
more consistent to have them print to stderr.

Moreover stderr is unbuffered (at least on Linux), making problems
immediately visible.
2016-11-14 18:36:38 +01:00
Quentin Rameau
8c99915608 Do not use color when font attributes are supported
If fontconfig gives us a font without the attributes we asked for,
display an alternative color instead.
2016-10-23 17:56:46 +02:00
Quentin Rameau
7854fde1ff st.1: add an entry for ISO-14755 shortcut 2016-10-22 10:43:18 +02:00
Quentin Rameau
68bae9c7b1 Add support for iso14755
We launch dmenu for getting a codepoint, then convert it and send it to
the terminal.
2016-10-18 13:32:36 +02:00
Klemens Nanni
331033f1f6 Add missing device path to '-l' example
Also, it's ttyS0 not ttySO.
2016-10-13 17:25:17 +02:00
Roberto E. Vargas Caballero
f7398434b8 Add parsing of DCS q sequences
These sequences are used to operate with sixels, but they are still
str sequences, so they are finished with \a, ST or with a C1 control
code. This patch also disables utf8 handling for the case of sixels.
2016-09-14 08:27:32 +02:00
Roberto E. Vargas Caballero
f0e2d28732 Add support for enabling/disabling utf
There are some ocasions where we want to disable the enconding/decoding of utf8, mainly
because it adds an important overhead. This is partial patch for ESC % G and ESC % @,
where they modified the way that st reads and write from/to the serial line, but it does
not modifies how it interacts with the X window part.
2016-09-13 14:01:18 +02:00
Roberto E. Vargas Caballero
078337d745 Delete ncv capability from terminfo
We do not need to disable the previous ncv definition, because
there is not previous definition.
2016-09-09 13:11:06 +02:00
Quentin Rameau
5ce853a1c1 st.info: do not prevent st from displaying attributes
With ncv set to 3, we prevent st from displaying A_STANDOUT and
A_UNDERLINE with colors while our virtual terminal is capable of it.
2016-09-09 11:05:11 +02:00