summaryrefslogtreecommitdiff
path: root/src/ncurses.cc
AgeCommit message (Collapse)Author
2014-12-09Rename ncurses.{cc,hh} to ncurses_ui.{cc,hh}Maxime Coste
2014-11-25Separate events between normal and urgent onesMaxime Coste
Run urgent ones while executing %sh blocks. Fixes #236
2014-11-20Fix info box placement when too wideMaxime Coste
2014-11-20Wrap info boxes text in ncurses display even in Inline menu styleMaxime Coste
2014-11-20Change wrap_lines to return StringViews, move it to string.ccMaxime Coste
2014-11-18Refresh stdscr at startup to avoid flickeringMaxime Coste
2014-11-12Cleanup includesMaxime Coste
2014-11-10Add ui_options option for UserInterface configurationMaxime Coste
ui_options is a std::unordered_map<String, String> that gets forwarded to the user interface. Add support ncurses_status_on_top.
2014-11-10Display status line on top in ncursesMaxime Coste
2014-11-10Support hinting if an inline info should be above or below the anchorMaxime Coste
Used by ctags function info, we always want it *above* the opening parenthesis so that it does not hide multi line parameter lists.
2014-11-08For {Menu,Info}Style::Prompt, choose the anchor directly in ncurses codeMaxime Coste
2014-11-08Add a MenuDoc style for info box, that will place it next to the menuMaxime Coste
2014-10-13Refactor regex uses, do not reference boost except in regex.hhMaxime Coste
2014-09-20Use raw terminal, and handle signals manuallyMaxime Coste
C-c now sends SIGINT to the process group of Kakoune server when used in normal mode. Fixes #30
2014-08-14NCurses: properly handle ctrl+altMaxime Coste
2014-07-26Fix resize handling in ncurses UIMaxime Coste
2014-07-16Fix ncurses flickering of the menu and info boxMaxime Coste
2014-07-15Use strongly typed enum for Face Attribute, add DimMaxime Coste
2014-07-11Rename ColorPair to Face and ColorRegistry to FaceRegistryMaxime Coste
Face also stores the attributes
2014-07-05NCurses: change scroll bar charactersMaxime Coste
2014-07-05NCurses: better support for 256 color terminals that cannot change colorsMaxime Coste
2014-07-05utf8: use end of sequence iterators for more securityMaxime Coste
2014-06-24Rename utf8::utf8_iterator to utf8::iteratorMaxime Coste
2014-06-16Use zstr instead of c_str in ncurses addutf8strMaxime Coste
2014-06-09Safer implementation of signal handlers in ncurses.ccMaxime Coste
On recent ncurses implementation on cygwin, the old method provoked freezes. Avoid calling ncurses functions in signal handlers. We still call an unsafe function (EventManager::force_signal)...
2014-05-25Rename Key::Erase to Key::Delete and add 'del' keynameMaxime Coste
Fixes #145 Fixes #146
2014-05-16DisplayAtom::content returns a StringViewMaxime Coste
2014-05-07Refactor LineAndColumn coordinatesMaxime Coste
BufferCoord -> ByteCoord DisplayCoord -> CharCoord Moved their definition along with LineAndColumn into coord.hh
2014-04-30Use StringView in UserInterface and NCursesUIMaxime Coste
2014-04-15Add an explicit refresh method to user interfaceMaxime Coste
With this refresh method user interface can defer updating the display until really needed.
2014-04-03Use plain libncurses with AppleJimmy Thrasher
2014-03-24change ncurses menu scroll bar styleMaxime Coste
2014-01-04Add support for the erase key in prompt and insert modeMaxime Coste
Fixes #18
2013-12-30NCursesUI: no item is selected on menu_showMaxime Coste
2013-11-19NCursesUI: info_show do not require previous call to info_hideMaxime Coste
2013-11-19NCursesUI: fix redraw when showing a new menuMaxime Coste
2013-11-12Do not require call to menu_hide before menu_show in ncurses uiMaxime Coste
2013-11-09Add support for function keys F1-F12Maxime Coste
2013-10-26Specify key modifiers using constexpr functions for brevityMaxime Coste
2013-10-17Code style cleanups in ncurses.{cc,hh}Maxime Coste
2013-10-17Improve NCurses UI menu scroll bar, use a variable heightMaxime Coste
2013-10-11Pass title to UserInterface::info_showMaxime Coste
Move unicode box generation and assistant code as a NcursesUI implementation detail.
2013-09-16remove print_status from UserInterface, pass status line to drawMaxime Coste
Client store the current status line. This way calls to print status do not force the user interface to display directly.
2013-07-26memoryview: always pass by valueMaxime Coste
2013-07-26LineAndColumns: always pass by valueMaxime Coste
2013-07-26Color,ColorPair: always pass by copyMaxime Coste
2013-07-24merge AtomContent into DisplayAtomMaxime Coste
2013-07-24DisplayLine no longer map to a single buffer line, but to a buffer rangeMaxime Coste
2013-07-12NCursesUI::draw_menu: be tolerant when the menu_win was not createdMaxime Coste
2013-06-19more portable use of ncursesMaxime Coste