lchat

A line oriented chat front end for ii.
git clone git://git.suckless.org/lchat
Log | Files | Refs | README

commit 3fc9c4d7ee1bd9a05b7bed3e835861923b6c9b28
parent f730489e0a632bd738ade1e91c85c6ffdad21ba8
Author: Tom Schwindl <schwindl@posteo.de>
Date:   Wed, 11 Jan 2023 09:59:12 +0100

lchat: in case the `-m` flag receives an invalid mode, abort

Diffstat:
Mlchat.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/lchat.c b/lchat.c @@ -221,6 +221,8 @@ main(int argc, char *argv[]) case 'm': if (strcmp(optarg, "emacs") == 0) sl_mode(sl, SL_EMACS); + else + die("lchat: invalid mode"); break; case 'h': default: