commit d7f45c0
uint
·
2026-10-03 17:43:27 +0000 UTC
parent d2769d3
update README for build system changes
1 files changed,
+18,
-15
+18,
-15
1@@ -8,33 +8,36 @@ could contribute!
2
3 ### Building:
4 ``` sh
5-./configure
6-make
7-cp cterm /usr/local/bin # or where you want it
8+meson setup build
9+meson compile -C build
10 ```
11
12+libmaus is fetched automatically as a Meson subproject. The window backend can
13+be selected explicitly with `-Dwindow_backend=x11` or
14+`-Dwindow_backend=wayland`; the default is `auto`.
15+
16 ### About
17 cterm is a tiny terminal emulator I built from frustrations of not being able
18-to use [st](https://st.suckless.org/) across different platforms. Much like
19-_st_, it is very, very small--even smaller than _st_. For this reason, however,
20-cterm does not have the "standard" terminal emulator features such as mouse
21-selection, scrollback, fancy graphics, configuration files, the like; this is
22-because, I find all of them useless. If you want to achieve that, use a
23-terminal multiplexer or even VIM (it can function well as a multiplexer).
24+to use [st](https://st.suckless.org/) between different platforms. Like st,
25+it's very, smalle. Even more so than st itself.
26+
27+For this reason, cterm lacks the "standard" terminal emulator features such as
28+mouse selection, scrollback, fancy graphics, configuration files, the like;
29+this is because, I don't need them. I achieve similar behavior just by, using a
30+terminal multiplexer or even just VIM.
31
32 cterm also doesn't rely on any extra dependancies like
33-[FreeType](https://freetype.org/) (well... it sort of does, but I just vendored
34-libmaus as it's a really small windowing library I made so that it can be cross
35+[FreeType](https://freetype.org/). It uses libmaus as a Meson subproject;
36+libmaus is a really small windowing library I made so that it can be cross
37 platform.
38
39 ### Info
40 Only BDF fonts are supported as for now. If requested (or contributed), I have
41 no problem with adding other formats but no vector font support! If you want to
42-convert your vector font, you can use something like `otf2bdf` (thats what I
43-do).
44+convert your vector font, you can use something like `otf2bdf`.
45 > There is also a  provided which
46 > uses `otf2ttf` to scale any font in a libary if needed.
47
48-Reloading the font can be done with `AltR + r` by default and there is also now
49-copy paste functionality
50+Reloading the font can be done with `AltR + r` by default. See the config for
51+more info on keybinds
52