summary refs log tree commit diff stats
path: root/commands/compose/send.go
Commit message (Collapse)AuthorAgeFilesLines
* Implement basic tab completion supportGregory Mullen2019-06-291-3/+13
| | | | | Tab completion currently only works on commands. Contextual completion will be added in the future.
* Fix Cc & Bcc handling in repliesDrew DeVault2019-06-211-0/+3
|
* Mark sent emails as readYash Srivastav2019-06-081-1/+2
|
* Fix special characters in address.PersonalNameDrew DeVault2019-05-251-11/+11
|
* Pass ServerName to tls.Config for SMTPDrew DeVault2019-05-201-2/+12
|
* asdfDrew DeVault2019-05-201-6/+2
|
* Fix scdoc & gofmt issuesDrew DeVault2019-05-181-4/+4
|
* s/aerc2/aerc/gDrew DeVault2019-05-171-2/+2
|
* Remove debug loggingDrew DeVault2019-05-171-1/+0
|
* Refactor STARTTLS to prevent downgrade attacksDrew DeVault2019-05-171-23/+27
|
* s/Sent/Message sent/Drew DeVault2019-05-161-2/+2
|
* Let caller pass in custom headers to composeDrew DeVault2019-05-161-2/+2
|
* Copy sent emails to the Sent folderDrew DeVault2019-05-151-14/+51
| | | | Or rather, to a user-specified folder
* Remove tab before going asyncDrew DeVault2019-05-141-1/+1
| | | | To prevent repeated attempts to send
* Add distinct keybindings for each compose viewDrew DeVault2019-05-141-0/+163
ass="k">proc create_window = width = WINDOW_WIDTH height = WINDOW_HEIGHT display = XOpenDisplay(nil) if display == nil: echo("Verbindung zum X-Server fehlgeschlagen") quit(1) screen = XDefaultScreen(display) depth = XDefaultDepth(display, screen) var rootwin = XRootWindow(display, screen) win = XCreateSimpleWindow(display, rootwin, 100, 10, width, height, 5, XBlackPixel(display, screen), XWhitePixel(display, screen)) size_hints.flags = PSize or PMinSize or PMaxSize size_hints.min_width = width size_hints.max_width = width size_hints.min_height = height size_hints.max_height = height discard XSetStandardProperties(display, win, "Simple Window", "window", 0, nil, 0, addr(size_hints)) discard XSelectInput(display, win, ButtonPressMask or KeyPressMask or PointerMotionMask) discard XMapWindow(display, win) proc close_window = discard XDestroyWindow(display, win) discard XCloseDisplay(display) var xev: TXEvent proc process_event = var key: TKeySym case int(xev.theType) of KeyPress: key = XLookupKeysym(cast[ptr TXKeyEvent](addr(xev)), 0) if key != 0: echo("keyboard event") of ButtonPressMask, PointerMotionMask: Echo("Mouse event") else: nil proc eventloop = discard XFlush(display) var num_events = int(XPending(display)) while num_events != 0: dec(num_events) discard XNextEvent(display, addr(xev)) process_event() create_window() while true: eventloop() close_window()