mirror of
https://github.com/pimalaya/himalaya.git
synced 2026-06-17 13:17:55 +08:00
release v0.2.5
This commit is contained in:
@@ -170,6 +170,7 @@ function! himalaya#msg#attachments()
|
||||
let mbox = himalaya#mbox#curr_mbox()
|
||||
let msg_id = stridx(bufname("%"), "Himalaya messages") == 0 ? s:get_focused_msg_id() : s:msg_id
|
||||
let msg = s:cli("--mailbox %s attachments %d", [shellescape(mbox), msg_id], "Downloading attachments", 0)
|
||||
call himalaya#shared#log#info(msg)
|
||||
catch
|
||||
if !empty(v:exception)
|
||||
redraw | call himalaya#shared#log#err(v:exception)
|
||||
|
||||
@@ -9,7 +9,7 @@ function! himalaya#shared#cli#call(cmd, args, log, should_throw)
|
||||
try
|
||||
let res = eval(res)
|
||||
redraw | call himalaya#shared#log#info(printf("%s [OK]", a:log))
|
||||
return res
|
||||
return res.response
|
||||
catch
|
||||
redraw | call himalaya#shared#log#info(printf("%s [ERR]", a:log))
|
||||
for line in split(res, "\n")
|
||||
|
||||
Reference in New Issue
Block a user