Commit 7c555035b6f4f7db727e811e79f8fa251ebd8a33
Better wording for confirming exit with bg jobs
* "working" -> "running"
* "commands" -> "jobs" (could be both internal threads and external
commands)
Author: xaizek
Author date (UTC): 2025-07-19 12:05
Committer name: xaizek
Committer date (UTC): 2025-07-19 12:05
Parent(s): a0906d38f8206d402893c7e832aaebe2187724aa
Signing key: 99DC5E4DB05F6BE2
Tree: 443d396884cebdd8e04095d7637540c171ab4cda
File ChangeLog changed (mode: 100644) (index 94f422785..ee0b8646c) |
48 |
48 |
Display descriptions as "{...}" rather than "[...]" in :file and |
Display descriptions as "{...}" rather than "[...]" in :file and |
49 |
49 |
:file[x]type menus. |
:file[x]type menus. |
50 |
50 |
|
|
|
51 |
|
Improved potentially confusing wording in the dialog confirming exit while |
|
52 |
|
background jobs are running. |
|
53 |
|
|
51 |
54 |
Fixed 'trashdir' with "%r" on BSD-like systems (those with getmntinfo() |
Fixed 'trashdir' with "%r" on BSD-like systems (those with getmntinfo() |
52 |
55 |
instead of getmntent() API). The regression was apparently introduced in |
instead of getmntent() API). The regression was apparently introduced in |
53 |
56 |
v0.9.1-beta. Thanks to sublimal. |
v0.9.1-beta. Thanks to sublimal. |
File src/vifm.c changed (mode: 100644) (index 21c70f1e2..40f193151) |
... |
... |
vifm_try_leave(int store_state, int cquit, int force) |
577 |
577 |
{ |
{ |
578 |
578 |
if(!force && bg_has_active_jobs(1)) |
if(!force && bg_has_active_jobs(1)) |
579 |
579 |
{ |
{ |
580 |
|
if(!prompt_msg("Warning", "Some of backgrounded commands are still " |
|
581 |
|
"working. Quit?")) |
|
|
580 |
|
if(!prompt_msg("Warning", "Some of background jobs are still running. " |
|
581 |
|
"Quit anyway?")) |
582 |
582 |
{ |
{ |
583 |
583 |
return; |
return; |
584 |
584 |
} |
} |