summaryrefslogtreecommitdiff
path: root/src/gui/gui-input.h
AgeCommit message (Collapse)Author
2023-04-25core: add option `split_return` in command `/input` (closes #1916)Sébastien Helleu
2023-03-26core: fix code style (issue #1503)Sébastien Helleu
2023-03-26core: Implement commands for operating on a single input lineTrygve Aaberge
This changes the commands delete_beginning_of_line, delete_end_of_line, delete_line, move_beginning_of_line and move_end_of_line to operate on the current line instead of the whole input. The commands delete_beginning_of_input, delete_end_of_input, delete_input, move_beginning_of_input and move_end_of_input are added with the previous implementations that the line commands had. Additionally, the commands move_previous_line and move_next_line are added which moves the cursor to the previous/next line and keeps the horizontal position in the line. The meta-r key is changed from delete_line to delete_input to keep the behavior, and because you probably want to delete the whole input more often than the line. The meta-R key is added for delete_line. The home, end, ctrl-u and ctrl-k keys are kept to the same commands, which means that they change behaviour. This is because having them operate on the line is consistent with other applications (vim, zsh), and I also think it's more practical. These new bindings are added: shift-home: /input move_beginning_of_input shift-end: /input move_end_of_input shift-up: /input move_previous_line shift-down: /input move_next_line meta-R: /input delete_line meta-ctrl-u: /input delete_beginning_of_input meta-ctrl-k: /input delete_end_of_input Relates to #1498
2023-03-16core: add key alt-K (alt+shift+k) to grab raw key and its commandSébastien Helleu
2023-01-01core: update copyright datesSébastien Helleu
2022-12-31core: move function gui_input_move_to_buffer to gui-buffer.cSébastien Helleu
2022-12-25core: move `/input` buffer switch/zoom actions to command `/buffer`Sébastien Helleu
Actions moved: * `/input switch_active_buffer` -> `/buffer switch` * `/input switch_active_buffer_previous` -> `/buffer switch -previous` * `/input zoom_merged_buffer` -> `/buffer zoom`
2022-12-25core: move `/input` set_unread actions to commands `/allbuf` and `/buffer set`Sébastien Helleu
Actions moved: * `/input set_unread` -> `/allbuf /buffer set unread` * `/input set_unread_current_buffer` -> `/buffer set unread`
2022-12-25core: move `/input` hotlist actions to new command `/hotlist`Sébastien Helleu
Actions moved to command `/hotlist`: * `/input hotlist_clear` -> `/hotlist clear` * `/input hotlist_remove_buffer` -> `/hotlist remove` * `/input hotlist_restore_buffer` -> `/hotlist restore` * `/input hotlist_restore_all` -> `/hotlist restore -all`
2022-12-25core: move `/input` jump actions to command `/buffer jump`Sébastien Helleu
Actions moved to command `/buffer jump`: * `/input jump_smart` -> `/buffer jump smart` * `/input jump_previously_visited_buffer` -> `/buffer jump prev_visited` * `/input jump_next_visited_buffer` -> `/buffer jump next_visited` * `/input jump_last_buffer_displayed` -> `/buffer jump last_displayed`
2022-12-18core: remove unused argument "pos" from function gui_input_insert_string, ↵Sébastien Helleu
add tests on function
2022-09-18core: add key alt+backspace, change behavior of key ctrl+w (closes #559)Sébastien Helleu
The key ctrl+w now deletes one word until whitespace. The new key alt+backspace deletes one word (same behavior as ctrl+w in previous releases).
2022-01-17core: update copyright datesSébastien Helleu
2021-08-31core: add options in command /input and new keys to remove/restore buffers ↵Sébastien Helleu
in hotlist New options in command /input: - hotlist_remove_buffer - hotlist_restore_buffer - hotlist_restore_all New keys: - alt+h, alt+c: clear the whole hotlist (former key: alt+h) - alt+h, alt+m: mark the current buffer as read by removing it from the hotlist - alt+h, alt+r: restore latest hotlist removed in the current buffer - alt+h, alt+shift+R: restore latest hotlist removed in all buffers
2021-01-02core: update copyright datesSébastien Helleu
2020-01-04core: update copyright datesSébastien Helleu
2019-01-01core: update copyright datesSébastien Helleu
2018-11-29core: use https for links to GNU GPL licenseSébastien Helleu
2018-01-05core: update copyright datesSébastien Helleu
2017-08-10core: remove value for first #define in headers, add "PLUGIN" in plugin headersSébastien Helleu
2017-01-01core: update copyright datesSébastien Helleu
2016-10-08core: fix realloc in function gui_input_optimize_size (issue #809)Sébastien Helleu
This could cause crash in case of memory allocation error (but WeeChat would probably crash or have problems anyway if there's not enough memory for the input line).
2016-08-16core: add optional argument "lowest", "highest" or level mask in command ↵Sébastien Helleu
/input hotlist_clear
2016-01-01core: update copyright datesSébastien Helleu
2015-04-12core: add more intuitive buffer searching (closes #76)Simmo Saan
2015-01-01core: update copyright datesSébastien Helleu
2014-03-19core: fix use of reserved C identifiers in headers (closes #31)Sebastien Helleu
2014-03-19core: add key alt-j,alt-f to jump to first buffer, change command for jump ↵Sebastien Helleu
to last buffer New key alt-j,alt-f is bound by default to "/buffer -". The existing key alt-j,alt-l is now bound by default to "/buffer +".
2014-01-01core: update copyright datesSebastien Helleu
2013-08-17core: add search of regular expression in buffer, don't reset search type on ↵Sebastien Helleu
a new search, select where to search (messages/prefixes) Key changed in search context: - ctrl+"r": switch search type: string/regex New keys in search context: - alt+"c": case (in)sensitive search - tab: search in messages/prefixes/both
2013-03-17core: fix refresh of item "completion" (bug #38214) (patch from Nils Görs)Sebastien Helleu
The item is now cleared after any action that is changing content of command line and after switch of buffer.
2013-01-01core: update copyright datesSebastien Helleu
2012-08-30core: add default key alt+"x" (zoom on merged buffer) (task #11029)Sebastien Helleu
2012-01-24core: move option "scroll_unread" from command /input to /windowSebastien Helleu
2012-01-08core: update copyright datesSebastien Helleu
2011-11-08core: add option "jump_last_buffer_displayed" for command /input (key: ↵Sebastien Helleu
alt+"/") (task #11553)
2011-07-30core: add "/input grab_mouse" and "/input grab_mouse_area" (default: right ↵Sebastien Helleu
click on input bar)
2011-07-26core: add mouse support (task #5435), free cursor movement, hook_focus, fix ↵Sebastien Helleu
bugs with key "^" (bug #32072, bug #21381), fix bugs with bar windows, completion and /buffer New features and bugs fixed: - mouse support: new command /mouse, new option weechat.look.mouse, new key context "mouse" - free movement of cursor: new command /cursor, new key context "cursor" - new hook_focus (used by cursor and mouse) - info "cursor_mode" - bugs fixed with key "^" - allow plugin name in /buffer name - fix bugs with bar windows: do not create bar windows for hidden bars - fix completion bug when two words for completion are equal but with different case - automatic scroll direction in /bar scroll (x/y is now optional)
2011-07-05core: add context "search" for keys (to define keys used during search in ↵Sebastien Helleu
buffer with ctrl+"r")
2011-04-13core: use buffer pointer instead of window in input functions, add new ↵Sebastien Helleu
function window_search_with_buffer in plugin API
2011-01-01Update copyright datesSebastien Helleu
2010-10-31Remove function gui_input_moveSebastien Helleu
2010-09-27Add new option weechat.look.input_share (task #9228)Sebastien Helleu
2010-08-12Use window pointers instead of buffer pointers in gui-input.cSebastien Helleu
2010-08-12Use similar behaviour for keys bound to local or global history (bug #30759)Sebastien Helleu
2010-06-25Update comments after #endif in C headersSebastien Helleu
2010-06-22Update licenses and copyrights, add missing author names in sourcesSebastien Helleu
2010-04-28Add keys for undo/redo changes on command line (default: ctrl/alt + ↵Sebastien Helleu
underscore) (task #9483)
2010-02-02Add option "switch_active_buffer_previous" for command /input (task #10141)Sebastien Helleu
2010-01-13Add keyword "input_pos" to get/set cursor position in plugin API functions ↵Sebastien Helleu
buffer_get_integer and buffer_set