From 63f22638265680d87269a3493097ee3486a3b259 Mon Sep 17 00:00:00 2001 From: hut Date: Fri, 1 Jan 2010 23:10:14 +0100 Subject: random stuff --- TODO | 1 + ranger/actions.py | 2 ++ ranger/applications.py | 7 ++++++- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/TODO b/TODO index e7516f8a..9115fc90 100644 --- a/TODO +++ b/TODO @@ -20,6 +20,7 @@ General (X) #14 09/12/29 make filelists inherit from pagers (X) #15 09/12/29 better way of running processes!!~ (X) #16 10/01/01 list of bookmarks + ( ) #21 10/01/01 write help! Bugs diff --git a/ranger/actions.py b/ranger/actions.py index a4b90647..0d8472cd 100644 --- a/ranger/actions.py +++ b/ranger/actions.py @@ -335,6 +335,8 @@ class Actions(EnvironmentAware, SettingsAware): if hasattr(self.ui, 'redraw_main_column'): self.ui.redraw_main_column() + if hasattr(self.ui, 'status'): + self.ui.status.need_redraw = True # ------------------------------------ filesystem operations diff --git a/ranger/applications.py b/ranger/applications.py index c10df6f8..37358e12 100644 --- a/ranger/applications.py +++ b/ranger/applications.py @@ -8,7 +8,8 @@ ALLOWED_FLAGS = 'sdpSDP' class Applications(object): """ - This class contains definitions on how to run programs. + This class contains definitions on how to run programs and should + be extended in ranger.defaults.apps The user can decide what program to run, and if he uses eg. 'vim', the function app_vim() will be called. However, usually the user @@ -40,6 +41,10 @@ class Applications(object): return ('vim', ) + tuple(context) """ + def app_self(self, context): + """Run the file itself""" + return "./" + context.file.basename + def get(self, app): """Looks for an application, returns app_default if it doesn't exist""" try: -- cgit 1.4.1-2-gfad0 s/exercism/log/c/rna-transcription/README.md'>
path: root/c/rna-transcription/README.md
blob: bf475f16da51a12860be96833b8407b6703eb7b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57