ʘ‿ʘ
This commit is contained in:
parent
82fe300c87
commit
934145980b
@ -93,7 +93,12 @@ pathWidget (f, s) = str (show f) <+> padLeft Max (str (show s))
|
|||||||
sizeDir :: AppS -> IO AppS
|
sizeDir :: AppS -> IO AppS
|
||||||
sizeDir s = do
|
sizeDir s = do
|
||||||
subFiles <- getSizeSubpaths $ _appCWD s
|
subFiles <- getSizeSubpaths $ _appCWD s
|
||||||
pure $ s {_appSubFiles = subFiles}
|
pure $
|
||||||
|
s {
|
||||||
|
_appCursor = 0
|
||||||
|
, _appFocus = map fst subFiles !? 0
|
||||||
|
, _appSubFiles = subFiles
|
||||||
|
}
|
||||||
|
|
||||||
changeDir :: AppS -> IO AppS
|
changeDir :: AppS -> IO AppS
|
||||||
changeDir so
|
changeDir so
|
||||||
|
Loading…
Reference in New Issue
Block a user