summaryrefslogtreecommitdiff
path: root/src/input_handler.hh
AgeCommit message (Collapse)Author
2019-01-24Header and dependency cleanupMaxime Coste
2018-07-15Change autoshowcompl to auto_complete with insert|prompt possible valuesMaxime Coste
2018-06-03Add MenuStyle::Search that prevents the menu from hiding buffer textMaxime Coste
Fixes #2042
2017-11-12Move Array and ConstexprVector to a constexpr_utils.hh headerMaxime Coste
2017-11-08InputHandler: handle of last insert keys happening in nested modesMaxime Coste
Move recording of keys to the input handler itself instead of the Insert mode so that eventual nested modes (potentially introduced by <a-;> will get their keys recorded as well). Fixes #1680
2017-10-31Prompt: display the fallback text everytime the prompt is emptyMaxime Coste
2017-10-28Display the fallback value in promptsMaxime Coste
Fixes #1654
2017-08-18Respecify EnumDescs array sizes manually to workaround clang-3.6 bugMaxime Coste
2017-08-12Remove size redundancy in enum_desc function declarationMaxime Coste
The need to have the array size in the return type was redundant with the actual list of elements.
2017-06-25Remember count when repeating last insertMaxime Coste
Fixes #1465
2017-04-12Place hardware terminal cursor at the current main cursor/prompt cursor positionMaxime Coste
Fixes #1318 Also fixes https://gitlab.com/gnachman/iterm2/issues/5408
2017-03-15Migrate WithBitOps template specialization to with_bit_ops functionMaxime Coste
This way we dont depend on knowing the base template to enable bit ops on an enum type.
2017-03-15Migrate to a more value based meta programming modelMaxime Coste
Introduce Meta::Type<T> to store a type as value, and pass it around, migrate enum_desc and option_type_name to this.
2016-11-28Add more memory domains to certain dataMaxime Coste
2016-11-02Propagate NormalParams to user mappingsMaxime Coste
Closes #896
2016-10-24Make o/O open multiple lines when a count is givenMaxime Coste
Fixes #873
2016-08-22Only drop blank prefixed history entries in command/shell promptsMaxime Coste
For regex prompts we actually want to save them, as a leading space is significant Fixes #767
2016-07-28Use the same logic for mouse wheel and (half) page up/downMaxime Coste
Fixes #749
2016-04-19Add a -password switch to :prompt to allow for more secure password enteringMaxime Coste
Fixes #660
2016-04-13Fix support for macro being recorded and replay during :exec (non draft)Maxime Coste
2016-03-22User mappings and :exec are always executed in normal modeMaxime Coste
Fix #551
2016-02-27Remove direct access to ui, go through clientMaxime Coste
Client can now update menu/info positions when the window move around.
2015-12-12Fix input mode keep alive handling, use a refcount for input modesMaxime Coste
Fixes #528
2015-11-26Remind user hooks disable when replaying last insertMaxime Coste
Fixes #495
2015-11-20Move enum option handling in enum.hh and refactor enum optionsMaxime Coste
2015-11-18Change autoinfo option to be a flags option, document flags optionsMaxime Coste
Support the value1|value2|value3 syntax for flag options.
2015-10-05Use DisplayLine for menu choicesMaxime Coste
2015-08-11Display auto info on register insertion/explicit insert completionMaxime Coste
2015-08-08Use a struct rather than a std::pair for InputHandler::InsertionMaxime Coste
2015-06-03Get rid of the mode trash, delete mode directly when leaving on_keyMaxime Coste
2015-06-02InputHandler now uses a stack for active modesMaxime Coste
instead of having a single mode enabled, modes can be pushed/poped, with the top of the stack being the active mode.
2015-04-11Use char for KeyMapMode enumMaxime Coste
2015-03-09ArrayView content is not const anymoreMaxime Coste
As in upcoming std c++ array_view, ArrayView<T> points to mutable data, use ArrayView<const T> or alias ConstArrayView<T> for const data.
2015-01-12replace all std::vector with VectorMaxime Coste
2015-01-06Rename memoryview to ArrayViewMaxime Coste
2014-12-18Do not register timers for transient input handlersMaxime Coste
2014-11-21Do not record keys that were not user generatedMaxime Coste
2014-11-01move more parameters from const String& to StringViewMaxime Coste
2014-09-23Add support for mapping keys in goto/view commandsMaxime Coste
2014-09-10Add some color to mode specific mode line infoMaxime Coste
2014-08-12Make safe_ptr able to track callstacksMaxime Coste
The code stays disabled, as the performance penalty is quite high, but can be enabled to help debugging safe pointers.
2014-07-11Rename ColorPair to Face and ColorRegistry to FaceRegistryMaxime Coste
Face also stores the attributes
2014-05-13SelectionList know its buffer and timestampMaxime Coste
2014-04-27Add -init switch to :prompt to set the initial textMaxime Coste
Fixes #97
2014-03-20Remove dangling forward declaration of Editor classMaxime Coste
2013-12-20Get rid of Editor for goodMaxime Coste
ClientManager now stores only the free windows, clients take ownership of its own.
2013-12-15move InsertMode to normal.hhMaxime Coste
2013-11-14extract InputHandler to input_handler.{cc,hh}Maxime Coste
2013-09-12rename InputHandler to ClientMaxime Coste
2013-09-12Move Client responsibilities to InputHandlerMaxime Coste
InputHandler owns it's UserInterface, and is directly stored by the ClientManager.