aboutsummaryrefslogtreecommitdiff
path: root/widgets/aerc.go
AgeCommit message (Collapse)Author
2019-05-27Add :save and :pipe commands to viewerGalen Abell
* :save takes a path and saves the current message part to that location * :pipe is the same as pipe on the account page, but uses the current message part rather than the whole email (ie :pipe gzip -d) * Refactored account:pipe and extracted common pipe code to commands.util.QuickTerm * Added helper command aerc.PushError
2019-05-22Show account wizard if no accounts configuredDrew DeVault
2019-05-22Fix always showing last account tabDrew DeVault
2019-05-21New account wizard, part oneDrew DeVault
2019-05-19Update internal state and draw from the same goroutineSimon Ser
This commit introduces a new Aerc.Tick function that should be called to refresh the internal state. This in turn makes each AccountView process worker events. The UI goroutine repeatedly refreshes the internal state before drawing a new frame. The reason for this is that many worker messages may need to be processed for a single frame, and drawing the UI is far slower than refreshing the internal state. This has been confirmed in my testing (calling Aerc.Tick only once per frame results in a slower display). Many synchronization code has been removed. We can now write widgets without having to care so much about races. The remaining sync users are: - widgets/spinner: the spinner value is updated from inside an internal goroutine - lib/ui/invalidatable: Invalidate may be called from any goroutine - lib/ui/grid: same - lib/ui/ui: an internal goroutine needs read access to UI.exit - worker/types/worker: Worker.callbacks is used for both worker and UI callbacks The exact goroutine requirements for Drawable have been documented.
2019-05-17s/aerc2/aerc/gDrew DeVault
2019-05-14Add distinct keybindings for each compose viewDrew DeVault
2019-05-12Add initial compose widgetDrew DeVault
2019-03-31Make the message viewer real, part oneDrew DeVault
2019-03-30Add message view commands, :closeDrew DeVault
2019-03-30Add basic message viewer mockupDrew DeVault
2019-03-30Correct color of error messagesDrew DeVault
2019-03-30Use tcell.Style.Reverse instead of black on whiteDrew DeVault
2019-03-21Expire status errors on inputDrew DeVault
2019-03-21Use : for keybindings even when ex is overriddenDrew DeVault
2019-03-21Rig up terminal keybinding groupDrew DeVault
2019-03-21Use user's configured ex keyDrew DeVault
2019-03-21Add context-specific keybindingsDrew DeVault
2019-03-17Wrap Terminal in TermHostDrew DeVault
2019-03-17Add :term-closeDrew DeVault
2019-03-17Handle terminal title, login shellDrew DeVault
2019-03-17Implement :next-tab, :prev-tabDrew DeVault
2019-03-17Move exline handling up to aerc, add :termDrew DeVault
2019-03-17commands: handle case where no account selectedDrew DeVault
2019-03-17Add basic terminal widgetDrew DeVault
2019-03-15Implement sidebar-width config optionDrew DeVault
2019-03-15Rig up key bindingsDrew DeVault
2019-03-10Start building out command subsystemDrew DeVault
2019-02-10Fix buildElias Naur
2019-01-20Implement Container interface in widgets/Drew DeVault
2019-01-14Send commands up to the top-level aerc widgetDrew DeVault
2019-01-13Move ex line into accountDrew DeVault
2019-01-13Move status line into account, update behaviorDrew DeVault
2019-01-13Initialize worker in account widgetDrew DeVault
2019-01-13Add basic account widget, populate real acct viewsDrew DeVault
2018-06-12Apply gofmtDrew DeVault
2018-06-11Apply gofmtDrew DeVault
2018-06-11Move sidebar into account tabsDrew DeVault
This is accomplished through a bit of a hack, the statusbar is able to be a child of multiple dudes
2018-06-01switch to tcell from termboxMarkus Ongyerth
This is a simple mostly straight forward switch to tcell in favor of termbox. It uses the tcell native api (not the compat layer) but does not make use of most features. Further changes should include moving to tcell's views.TextArea and the general built in widget behaviour instead of the current ad hoc implementation. Regression: Cursor isn't shown in ex-line
2018-02-27Summon exline on demandDrew DeVault
2018-02-27Push commands to the status stackDrew DeVault
2018-02-27Pull main aerc UI into widgetDrew DeVault