[bugfix] unable to render full vsc-clean icon
This commit is contained in:
parent
ccf2412098
commit
470ae2c7cd
|
@ -1,6 +1,43 @@
|
||||||
import os
|
import os
|
||||||
from ranger.core.loader import CommandLoader
|
from ranger.core.loader import CommandLoader
|
||||||
from ranger.api.commands import Command
|
from ranger.api.commands import Command
|
||||||
|
from ranger.gui.widgets import Widget
|
||||||
|
|
||||||
|
Widget.vcsstatus_symb = {
|
||||||
|
'conflict': (
|
||||||
|
'X ', ['vcsconflict']),
|
||||||
|
'untracked': (
|
||||||
|
'? ', ['vcsuntracked']),
|
||||||
|
'deleted': (
|
||||||
|
'- ', ['vcschanged']),
|
||||||
|
'changed': (
|
||||||
|
'+ ', ['vcschanged']),
|
||||||
|
'staged': (
|
||||||
|
'* ', ['vcsstaged']),
|
||||||
|
'ignored': (
|
||||||
|
'· ', ['vcsignored']),
|
||||||
|
'sync': (
|
||||||
|
'✓ ', ['vcssync']),
|
||||||
|
'none': (
|
||||||
|
' ', []),
|
||||||
|
'unknown': (
|
||||||
|
'! ', ['vcsunknown']),
|
||||||
|
}
|
||||||
|
|
||||||
|
Widget.vcsremotestatus_symb = {
|
||||||
|
'diverged': (
|
||||||
|
' Y', ['vcsdiverged']),
|
||||||
|
'ahead': (
|
||||||
|
' >', ['vcsahead']),
|
||||||
|
'behind': (
|
||||||
|
' <', ['vcsbehind']),
|
||||||
|
'sync': (
|
||||||
|
' =', ['vcssync']),
|
||||||
|
'none': (
|
||||||
|
' ⌂ ', ['vcsnone']),
|
||||||
|
'unknown': (
|
||||||
|
' !', ['vcsunknown']),
|
||||||
|
}
|
||||||
|
|
||||||
class extracthere(Command):
|
class extracthere(Command):
|
||||||
def execute(self):
|
def execute(self):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user