Commit Graph

21 Commits

Author SHA1 Message Date
Sanchayan Maity 762a8843c3 Apply the font2 patch
See https://st.suckless.org/patches/font2/.

This patch allows to add spare font besides default. Some glyphs can be not
present in default font. For this glyphs st uses font-config and try to find
them in font cache first. This patch append fonts defined in font2 variable
to the beginning of font cache. So they will be used first for glyphs that
absent in default font.

This is required to improve the rendering of special unicode characters
we currently use in neovim statusline.
2020-11-17 12:20:16 +05:30
Sanchayan Maity 84c51f6233 config: Use JetBrains Mono Medium Italic font 2020-11-04 16:14:57 +05:30
Sanchayan Maity 5dfb0436eb Add our own custom config 2020-11-04 16:14:57 +05:30
pancake 596bb133a5 fix build
use config.def.h mechanism
add SHELL in config.h
2010-08-30 23:49:15 +02:00
Aurélien Aptel 326586ba43 cursor is hid when unfocused. 2010-08-30 15:28:29 +02:00
Aurélien Aptel e851736e8b removed (visual) bell. '\a' sets the urgency flag if st is unfocused. 2010-08-30 03:05:05 +02:00
Aurélien Aptel 2181040594 moved term.hidec in term.c for consistency, put back delay in xbell()
along with duration in config.h, factored some code in tnew()/treset()
and cleaned some code.
2010-08-29 18:55:15 +02:00
Aurélien Aptel a7922bd1d9 added F1-12 key, fixed DCH and ICH. 2010-08-22 19:46:46 +02:00
Aurélien Aptel ce3f4fc647 fixed backspace problem, updated terminfo entry and moved TNAME in config.h. 2010-08-19 12:46:54 +02:00
Anselm R Garbe 10e49a0505 applied Devin J Pohly's st color info patches, thanks Devin! 2010-07-24 12:09:14 +01:00
Aurélien Aptel d01c55c9ab use SHELL environment variable (thx Thomas Adam) 2010-04-26 19:20:53 +02:00
Aurélien Aptel b3b7ffce5f double-buffering added using pixmap (finally).
results in a lot of simplification :
	- no more dirty flags (perf are good enough).
	- no more ugly gfx call in emulation functions.
LINESPACE removed from config.h.
BORDER is now handled correctly.
2010-03-15 23:56:38 +01:00
Aurélien Aptel 0f4dd5035e bold attribute is back.
visibility of the cursor is not saved/loaded anymore.
scrolling up/down is fixed.
added RI and RIS sequences.
fixed cursor drawing bug.
2010-03-11 23:50:50 +01:00
Aurélien Aptel eff05c7b90 more escapes & more compability:
cursor keys are handled in kpress according to the Application Mode (DECPAM).
define & enum were renamed.
tcursor() is now tmovecursor() which is more correct.
tcpos() is now tcursor(), as DECSC is also supposed to save attributes.
capnames are indicated whenever possible.

Currently:
alsamixer looks fine, totally usable.
ncmpc is almost ok.
emacs looks like shit.
2010-02-08 23:16:55 +01:00
Aurélien Aptel e6b3f5c755 graphic charset and a few more escapes. 2010-02-03 16:18:04 +01:00
Aurélien Aptel f2dff29a16 drawing is faster but the bold attr is not supported anymore. 2009-10-28 14:34:22 +01:00
Aurélien Aptel 4e6915a16b Fixed possible segfault by reverting to the key struct (again). 2009-09-07 21:19:29 +02:00
Anselm R Garbe cf65699a29 we definately need pixmaps for the drawing, currently drawing into the window is painfully slow! much more slower than drawing into a pixmap and mapping that when finished -- several optimisations 2009-07-10 16:23:11 +01:00
Aurélien Aptel 0a5e510209 reverted back to the old Key struct. 2009-06-21 19:52:06 +02:00
Aurélien Aptel 4d794b3479 updated "key" to a lookup table. 2009-06-21 19:37:12 +02:00
Aurélien Aptel 2e37752961 added/removed files, updated Makefile. 2009-06-16 02:33:38 +02:00