nspawn: set window title from container name
authorLennart Poettering <lennart@poettering.net>
Thu, 1 Feb 2024 10:13:07 +0000 (11:13 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 9 Feb 2024 17:27:01 +0000 (18:27 +0100)
commitab03434aa7b1cc174bfc75a21923165d394e47b3
tree00d72676d612506eb6d8421eb76dae78569ddfdc
parentc80139f078f2915200c05bc626b4b14848beb99d
nspawn: set window title from container name

Let's update the window title with an ANSI sequence if we can. We'll
insert a blue dot, to match the blue tinting of the terminal screen,
indicating that we are in a container.
src/nspawn/nspawn.c