From 1a5cafd79d8e0499b7e5c044fdc3211e234f5b04 Mon Sep 17 00:00:00 2001 From: hut Date: Fri, 12 Jun 2009 18:44:12 +0200 Subject: fixed evil bug *completely* the one that keeps ranger running in the background when you use the window manager to close it (ie. clicking the X or pressing ALT+F4 or whatever means your window manager has to close a program) --- code/fm/fm.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/code/fm/fm.rb b/code/fm/fm.rb index a6054052..1bf74081 100644 --- a/code/fm/fm.rb +++ b/code/fm/fm.rb @@ -117,6 +117,7 @@ module Fm def main_loop bool = false while true + exit if Process.ppid == 1 if @pwd.size == 0 or @pwd.pos < 0 @pwd.pos = 0 elsif @pwd.pos >= @pwd.size - 1 -- cgit 1.4.1-2-gfad0 >this commit mirror of ranger - a simple, vim-like file managerakspecs <akspecs@tilde.institute>
about summary refs log blame commit diff stats
path: root/TODO
blob: 45d35acb240355474fae20c6ec0edf70a1b99af7 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11