about summary refs log tree commit diff stats
path: root/src/ui/inputwin.c
Commit message (Collapse)AuthorAgeFilesLines
* inp_readline() Correct slashguard featureMichael Vetter2020-04-211-4/+6
| | | | Protect against invalid reads by checking the length.
* Make _inp_edited() more robustDmitry Podgorny2020-04-191-1/+8
|
* Add slashguard featureMichael Vetter2020-03-181-0/+7
| | | | | New command `/slashguard` tries to protect against typing ` /quit` by not allowing a slash in the first 4 characters.
* Add vim modelineMichael Vetter2019-11-131-0/+1
|
* Fix add_history usage in down arrow handlerMichael Vetter2019-11-051-4/+1
| | | | | | | | | | | | | | [Programming with GNU History](http://www.math.utah.edu/docs/info/hist_2.html) mentions using_history(). Chet, maintainer of readline told me about it. (Thanks Chet!) Seems like we need to call this so that the history offset is at the right end of the list. I assume it's called in the linehandler automatically. Fix https://github.com/profanity-im/profanity/issues/200
* Store current input line in historyMichael Vetter2019-11-051-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Regards https://github.com/profanity-im/profanity/issues/200 This doesn't work yet. And I have no idea why. Weird behaviour: - start profanity - type 'ASDF' - ctrl+arrow down -> text vanishes (like intended) - arrow up -> nothing happens (intended is that the last history item [ASDF] appears) - type 'ABC' - press enter - arrow up -> ABC appears - enter - type 'UUU' - ctrl+arrow down - type 'ZZZ' - enter - arrow up - ZZZ appears - arrow up - UUU appears So in the latter case we added to history and deleted from the input line and then immediately entered new text and pressed enter, to add this to the history too. When we do this the not sent text succesfully was stored in history.
* Bind key to switch to next active windowMichael Vetter2019-09-301-0/+14
| | | | | | alt-a brings one to the next window with unread messages. Regards https://github.com/profanity-im/profanity/issues/1114
* Define keybindings to switch to up to 20 windowsMichael Vetter2019-09-301-0/+100
| | | | | | | | | | alt-2 brings one ot the window. irssi supports alt + 1234567890qwertyuio to easily switch to 20 windows instead of just ten. Hardcode this too. Regards https://github.com/profanity-im/profanity/issues/1114
* Update copyright to include 2019Michael Vetter2019-01-221-1/+1
|
* Add prof_win_close (#1017)twardziejszy2019-01-101-0/+11
|
* WIP add self prefs for statusbarJames Booth2018-03-101-2/+2
|
* Clear autocompletes on line editsJames Booth2018-02-091-3/+19
|
* Update copyrightJames Booth2018-01-211-1/+1
|
* Allow previous autocompletion with shift tabJames Booth2017-04-011-2/+49
|
* Update CopyrightJames Booth2017-01-281-1/+1
|
* Allow vertical positioning of all windowsJames Booth2016-09-231-10/+4
|
* Add /inputwin top|bottom commandJames Booth2016-09-191-1/+8
| | | | closes #853
* Move all filepath handling to files.cJames Booth2016-07-241-1/+1
|
* Move xgd functionsJames Booth2016-07-241-1/+2
|
* Tidy headersJames Booth2016-07-241-7/+7
|
* Moved roster_list.cJames Booth2016-07-241-1/+1
|
* Moved muc.cJames Booth2016-07-241-1/+1
|
* Moved chat_state.cJames Booth2016-07-241-1/+1
|
* Moved chat state handling code to chat_state.cJames Booth2016-07-241-2/+3
|
* Update GPL link in headersJames Booth2016-07-241-1/+1
|
* Rename command sourcesJames Booth2016-05-221-1/+1
|
* Add cmd_autocomplete.cJames Booth2016-05-201-3/+3
|
* Reorder headers in inputwin.cJames Booth2016-05-111-1/+1
| | | | Fixes unknown type name '_fpos64_t' error on Cygwin
* Implement XEP-0363: HTTP File UploadDominik Heidler2016-04-261-0/+3
|
* Removed #AX_PREFIX_CONFIG_HJames Booth2016-03-311-3/+3
|
* Merge branch 'master' into plugins-cJames Booth2016-02-141-1/+1
|\ | | | | | | | | | | Conflicts: src/main.c src/ui/console.c
| * Updated copyrightJames Booth2016-02-141-1/+1
| |
* | Added C plugin code from plugins branchJames Booth2016-02-141-3/+3
|/
* Added sys/select.h header includesJames Booth2016-01-191-0/+1
|
* Use MB_CUR_MAX when calculating cursor positionJames Booth2015-12-191-1/+1
|
* Read ~/.config/profanity/inputrcJames Booth2015-12-061-0/+7
|
* Renamed readline handlersJames Booth2015-12-061-93/+93
|
* Added readline function definitionsJames Booth2015-12-061-1/+24
|
* readline: set rl_outstream to /dev/nullJames Booth2015-12-011-0/+5
|
* Disable readline completionJames Booth2015-11-291-0/+3
|
* Clear Readline undo list when autocompleting command historyJames Booth2015-11-091-2/+2
| | | | fixes #667
* Renamed ui_switch_win -> ui_focus_winJames Booth2015-11-021-3/+3
|
* Removed ui_ paging functionsJames Booth2015-11-011-4/+8
|
* Removed inp_win_clear()James Booth2015-11-011-9/+0
|
* Removed ui_events moduleJames Booth2015-10-271-1/+0
|
* Removed ui_ev_focus_winJames Booth2015-10-271-3/+3
|
* Get rid of compiler warning concerning NULL pointerMichael Vetter2015-10-261-1/+1
| | | | Casting the into correct type.
* Applied coding style to src/ui/James Booth2015-10-251-2/+2
|
* Fixed resize during password and tls commandsJames Booth2015-10-061-0/+2
|
* Unmap key sequence Alt+=James Booth2015-09-291-0/+3
| | | | Fixes #629