Roberto E. Vargas Caballero
ea782bfc5d
Remove hardcoded keys form kpress
Some keys were in the Key array while others were hardcoded in
kpress().This cause some problems with some keys which can generate more of
one string based in the configuration of the terminal.
---
config.def.h | 70 ++++++++++++++++++++++++++++++++++++++++-----------------
st.c | 71 +++++++++++++++++++++++++---------------------------------
2 files changed, 79 insertions(+), 62 deletions(-)
12 years ago
Roberto E. Vargas Caballero
93f31166bf
Move Shift + Insert to shortcut
Shift + Insert is used like a hot key for paste the selection, so it is more
logical move it to shortcut array instead of having special code for it.
---
config.def.h | 1 +
st.c | 13 +++----------
2 files changed, 4 insertions(+), 10 deletions(-)
12 years ago
Christoph Lohmann
abe85c0e99
Fixing an out-of-bound bug in the selection code. Thanks Szabolczs Nagy!
12 years ago
Christoph Lohmann
393825f9f8
Moving to the dwm config.h variable usage.
12 years ago
Christoph Lohmann
1d378227c0
Removing the now senseless comment in config.def.h. Thanks to bnwe!
12 years ago
Christoph Lohmann
71b09ec4f1
Adding a more flexible fontstring handling, shortcuts and a zoom function.
12 years ago
Christoph Lohmann
5caa46cf57
Turning on antialias by default really makes it more unreadable. Maybe if once
the majority has bigger screens, this can be turned on by default again.
Thanks pancake, for the hint.
12 years ago
Christoph Lohmann
2752018e27
This adds the fontcache dependency to try something out. Additionally the
invert mode now works as expected. In the config.def.h autohint is set to
false, so the fonts are drawn correctly, without any overlapping.
12 years ago
Christoph Lohmann
af9e248f97
Removing the now obsolete definitions from the config.def.h file.
12 years ago
Christoph Lohmann
375b6e5b17
Switching to Liberation Mono as default solely because of line drawing. A next
patch to fix the font symbols in all fonts should make it easier to choose a
better font.
12 years ago
Christoph Lohmann
3a095984b0
Implementing line drawing right.
12 years ago
Christoph Lohmann
246d704ba0
Changing the default font to DejaVu Sans Mono, which is more appealing and
activating antialiasing.
12 years ago
Christoph Lohmann
2b3c1219c8
Initial Xft support for st. More to follow.
12 years ago
Aurélien Aptel
1ba5f4172f
config.def.h: typo in comment.
12 years ago
Christoph Lohmann
a62789788c
Implementing italic-bold. This will require an increase of the avgWdth.
12 years ago
Christoph Lohmann
462a966ee2
Implement italic font support.
12 years ago
Aurélien Aptel
751fb765e4
fix default color overwriten bug.
12 years ago
Aurélien Aptel
be2877cd04
show dark cursor when unfocused.
12 years ago
Aurélien Aptel
d8e11bdb0e
document possible configuration.
12 years ago
Aurélien Aptel
907cb8bfa6
no palette limit (thx Nick)
13 years ago
Aurélien Aptel
6f260ba164
fix custom key handling.
13 years ago
Aurélien Aptel
9d5ea14b9d
selection clicks, shift+arrow keys, fast(er) redraw, key mask in config.h (thx Magnus Leuthner)
13 years ago
Aurélien Aptel
4d649c2403
fix insert key, terminfo and changed TERM back to st. (thx Ondrej Martinek)
14 years ago
Aurélien Aptel
9b74fcadc4
utf8 support! print text in delicious unicode greatness! all hail to the glorious Damian Okrasa for the patch!
TERM set back to xterm.
changed default fonts.
Note: drawing is now (even) slower.
14 years ago
Aurélien Aptel
58083da61f
set terminal colors to xterm default ones.
14 years ago
Aurélien Aptel
ebc287271c
removed gfx chars not present in xterm acsc.
14 years ago
Aurélien Aptel
f732ca5f1f
added correct line drawing characters for default font.
14 years ago
pancake
596bb133a5
fix build
use config.def.h mechanism
add SHELL in config.h
14 years ago
Aurélien Aptel
326586ba43
cursor is hid when unfocused.
14 years ago
Aurélien Aptel
e851736e8b
removed (visual) bell. '\a' sets the urgency flag if st is unfocused.
14 years ago
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.
14 years ago
Aurélien Aptel
a7922bd1d9
added F1-12 key, fixed DCH and ICH.
14 years ago
Aurélien Aptel
ce3f4fc647
fixed backspace problem, updated terminfo entry and moved TNAME in config.h.
14 years ago
Anselm R Garbe
10e49a0505
applied Devin J Pohly's st color info patches, thanks Devin!
14 years ago
Aurélien Aptel
d01c55c9ab
use SHELL environment variable (thx Thomas Adam)
14 years ago
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.
14 years ago
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.
14 years ago
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.
15 years ago
Aurélien Aptel
e6b3f5c755
graphic charset and a few more escapes.
15 years ago
Aurélien Aptel
f2dff29a16
drawing is faster but the bold attr is not supported anymore.
15 years ago
Aurélien Aptel
4e6915a16b
Fixed possible segfault by reverting to the key struct (again).
15 years ago
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
15 years ago
Aurélien Aptel
0a5e510209
reverted back to the old Key struct.
15 years ago
Aurélien Aptel
4d794b3479
updated "key" to a lookup table.
15 years ago
Aurélien Aptel
2e37752961
added/removed files, updated Makefile.
15 years ago