From 5c9244973b51e6c4f5f76cb6fcda14449d84a732 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Wed, 3 Feb 2021 16:09:43 -0500 Subject: dash: Warn twice about stopped jobs Not really sure why this previously set job_warning to 2 rather than 1. Anyway I often just press ^D again after the warning without really thinking, so do it twice. --- src/jobs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jobs.c b/src/jobs.c index f30313b..8fb9d4b 100644 --- a/src/jobs.c +++ b/src/jobs.c @@ -1207,12 +1207,12 @@ stoppedjobs(void) int retval; retval = 0; - if (job_warning) + if (job_warning > 1) goto out; jp = curjob; if (jp && jp->state == JOBSTOPPED) { out2str("You have stopped jobs.\n"); - job_warning = 2; + job_warning++; retval++; } -- cgit 1.4.1 >master IRC client
about summary refs log tree commit diff
path: root/input.c (unfollow)
Commit message (Expand)Author
2018-08-04Split source into several filesJune McEnroe
2018-08-04Exit on zero readJune McEnroe
2018-08-04Handle nick errorsJune McEnroe
2018-08-04Handle /nick and /quitJune McEnroe
2018-08-04Track own nickJune McEnroe
2018-08-04Word all status messages in presentJune McEnroe
2018-08-03Handle inputJune McEnroe
2018-08-03Track own usernameJune McEnroe
2018-08-03Use a wide pad for the topicJune McEnroe
2018-08-03Ignore NOTICEs not sent to the channelJune McEnroe
2018-08-03Handle KICK and NICKJune McEnroe
2018-08-03Continue on EINTR from pollJune McEnroe
2018-08-03Handle ACTIONsJune McEnroe
2018-08-03Use more octal char literalsJune McEnroe
2018-08-03Send a WHO in response to NAMES to get usernamesJune McEnroe
2018-08-03Colorize nicks and channelsJune McEnroe
2018-08-03Add support for mIRC colorsJune McEnroe
2018-08-03Handle bold, italic, underlineJune McEnroe
2018-08-03Add prift function for "prefix shift"June McEnroe
2018-08-03Link with -lcurseswJune McEnroe
2018-08-02Use libtls "compat" ciphersJune McEnroe
2018-08-02Add UI and handle some kinds of server messagesJune McEnroe
2018-08-02Add chroot.tar targetJune McEnroe