Quentin Rameau and Hiltjo Posthuma
26cdfebf31
x: fix XIM handling
...
Do not try to set specific IM method, let the user specify it with
XMODIFIERS.
If the requested method is not available or opening fails, fallback to
the default input handler and register a handler on the new IM server
availability signal.
Do the same when the input server is closed and (re)started.
2020-02-02 22:56:51 +01:00
Quentin Rameau and Hiltjo Posthuma
cd785755f2
x: check we still have an XIC context before accessing it
2020-02-02 22:56:51 +01:00
Quentin Rameau and Hiltjo Posthuma
2cb539142b
x: do not instantiate a new nested list on each cursor move
2020-02-02 22:56:51 +01:00
Quentin Rameau and Hiltjo Posthuma
99de333951
x: move IME variables into XWindow ime embedded struct
2020-02-02 22:56:51 +01:00
Quentin Rameau and Hiltjo Posthuma
67d0cb65d0
Remove the ISO 14755 feature
...
And move it to the patches section.
Keeping it would force to add an exec pledge on OpenBSD, and some
people think it's bloated, so bye!
2018-09-11 19:05:55 +02:00
Quentin Rameau and Hiltjo Posthuma
0b507bb731
Fix title initialization
2018-03-16 16:44:30 +01:00
Quentin Rameau and Hiltjo Posthuma
e7ef3c4ce9
Fix regression from 69e32a6 when setting title.
2018-03-16 16:44:30 +01:00
Quentin Rameau
8dacdfbab1
Revert "Add bold off SGR"
...
This reverts commit 6cb6d61525 .
This wasn't a useful thing after all.
2017-07-12 13:29:31 +02:00
Quentin Rameau
c0882f2ed1
Add dim/smxx/rmxx to terminfo, remove duplicate kich1
2017-07-12 13:29:30 +02:00
Quentin Rameau
d4928edba0
Let the user specify C and LD FLAGS
2017-07-12 00:28:11 +02:00
Quentin Rameau
fabd4602b3
Do not obfuscate what make is doing.
...
Change some styling too while we're at it.
2017-07-12 00:28:10 +02:00
Quentin Rameau
6cb6d61525
Add bold off SGR
2017-06-03 22:28:35 +02:00
Quentin Rameau and Roberto E. Vargas Caballero
745c40f8b0
Simplify how we keep ATTRs under cursor
...
Thanks to tarug0 for the suggestion/patch.
2017-04-04 18:23:45 +02: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
Quentin Rameau and Roberto E. Vargas Caballero
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
Quentin Rameau and Christoph Lohmann
6d636beb22
Fix forgotten bracket and duplicate option in usage()
...
Scratch the preceding patch, this one is more correct
(don't forget to 'git am --scissors' ;))
-- >8 --
Also reformat the strings in a saner layout
Signed-off-by: Christoph Lohmann <20h@r-36.net >
2016-02-01 18:14:27 +01:00
Quentin Rameau and Christoph Lohmann
6e70bb97d4
Extract ttyresize() out of cresize()
...
This way we can call cresize() to set the terminal size before creating
a tty or spawning a process, which will start with the correct size.
Signed-off-by: Christoph Lohmann <20h@r-36.net >
2016-01-30 18:40:13 +01:00
Quentin Rameau and Christoph Lohmann
0cd5117a2c
Add -n option for setting WM_CLASS instance name
...
Signed-off-by: Christoph Lohmann <20h@r-36.net >
2016-01-30 09:45:23 +01:00
Quentin Rameau and Christoph Lohmann
bd5fdbe64c
Reformat usage and separate version from it
...
Signed-off-by: Christoph Lohmann <20h@r-36.net >
2016-01-30 09:44:41 +01:00
Quentin Rameau and Christoph Lohmann
293f573efd
Fix the cursor colors selection
...
Signed-off-by: Christoph Lohmann <20h@r-36.net >
2015-10-06 17:36:02 +02:00
Quentin Rameau and Christoph Lohmann
80fe97f8a6
Fix the cursor color when over selection.
...
If we want to show a custom selected cursor color, we must not set the
revert attribute to the drawn glyph.
Signed-off-by: Christoph Lohmann <20h@r-36.net >
2015-10-06 00:05:04 +02:00
Quentin Rameau and Roberto E. Vargas Caballero
9984ad4ba7
st.info: replace the acsc entry from xterm to urxvt
...
The current acsc entry, copied from xterm was not exposing capability to
display arrows.
2015-08-12 09:02:12 +02:00