Maxime Coste
|
811f1c2d76
|
Rename Key::Erase to Key::Delete and add 'del' keyname
Fixes #145
Fixes #146
|
2014-05-25 17:41:28 +01:00 |
|
Maxime Coste
|
c21368cac5
|
DisplayAtom::content returns a StringView
|
2014-05-16 19:29:39 +01:00 |
|
Maxime Coste
|
8546788b43
|
Refactor LineAndColumn coordinates
BufferCoord -> ByteCoord
DisplayCoord -> CharCoord
Moved their definition along with LineAndColumn into coord.hh
|
2014-05-07 19:53:45 +01:00 |
|
Maxime Coste
|
4d45fa6588
|
Use StringView in UserInterface and NCursesUI
|
2014-04-30 19:39:52 +01:00 |
|
Maxime Coste
|
7af9863e51
|
Add an explicit refresh method to user interface
With this refresh method user interface can defer updating
the display until really needed.
|
2014-04-15 19:19:44 +01:00 |
|
Jimmy Thrasher
|
43b395533f
|
Use plain libncurses with Apple
|
2014-04-03 13:56:03 -04:00 |
|
Maxime Coste
|
30d36c0f1d
|
change ncurses menu scroll bar style
|
2014-03-24 19:36:34 +00:00 |
|
Maxime Coste
|
feaf197cae
|
Add support for the erase key in prompt and insert mode
Fixes #18
|
2014-01-04 18:18:59 +00:00 |
|
Maxime Coste
|
d9b7eaef2b
|
NCursesUI: no item is selected on menu_show
|
2013-12-30 22:41:08 +00:00 |
|
Maxime Coste
|
b90594353c
|
NCursesUI: info_show do not require previous call to info_hide
|
2013-11-19 19:51:39 +00:00 |
|
Maxime Coste
|
44b0957e10
|
NCursesUI: fix redraw when showing a new menu
|
2013-11-19 19:51:39 +00:00 |
|
Maxime Coste
|
6877ae151f
|
Do not require call to menu_hide before menu_show in ncurses ui
|
2013-11-12 18:52:30 +00:00 |
|
Maxime Coste
|
4b518ee6b9
|
Add support for function keys F1-F12
|
2013-11-09 11:12:55 +00:00 |
|
Maxime Coste
|
cf6c07d37d
|
Specify key modifiers using constexpr functions for brevity
|
2013-10-26 18:42:36 +01:00 |
|
Maxime Coste
|
9e9b503f5d
|
Code style cleanups in ncurses.{cc,hh}
|
2013-10-17 18:48:12 +01:00 |
|
Maxime Coste
|
c3bafea2cd
|
Improve NCurses UI menu scroll bar, use a variable height
|
2013-10-17 00:32:13 +01:00 |
|
Maxime Coste
|
3c959cee99
|
Pass title to UserInterface::info_show
Move unicode box generation and assistant code as
a NcursesUI implementation detail.
|
2013-10-11 00:17:22 +01:00 |
|
Maxime Coste
|
06e06d6ea6
|
remove print_status from UserInterface, pass status line to draw
Client store the current status line. This way calls to print status
do not force the user interface to display directly.
|
2013-09-16 19:15:13 +01:00 |
|
Maxime Coste
|
eedd37c09a
|
memoryview: always pass by value
|
2013-07-26 01:50:36 +02:00 |
|
Maxime Coste
|
3862b5cbb8
|
LineAndColumns: always pass by value
|
2013-07-26 01:50:09 +02:00 |
|
Maxime Coste
|
d5453152b3
|
Color,ColorPair: always pass by copy
|
2013-07-26 00:54:58 +02:00 |
|
Maxime Coste
|
d6425f1d50
|
merge AtomContent into DisplayAtom
|
2013-07-24 13:55:57 +01:00 |
|
Maxime Coste
|
c7e52a650d
|
DisplayLine no longer map to a single buffer line, but to a buffer range
|
2013-07-24 01:33:12 +02:00 |
|
Maxime Coste
|
fcb3594e4a
|
NCursesUI::draw_menu: be tolerant when the menu_win was not created
|
2013-07-12 13:15:56 +01:00 |
|
Maxime Coste
|
a642026e7c
|
more portable use of ncurses
|
2013-06-19 19:29:04 +01:00 |
|
Maxime Coste
|
245e68e26e
|
utf8_iterators: rename underlying_iterator to base
|
2013-06-06 19:44:07 +02:00 |
|
Maxime Coste
|
c91cea9dc3
|
fix ncurses info box placement
|
2013-05-16 22:33:28 +02:00 |
|
Maxime Coste
|
23f43376df
|
fix NCurses info box, avoid trailing space on each lines
|
2013-05-16 21:46:15 +02:00 |
|
Maxime Coste
|
b2dffbabb6
|
more robust NCursesUI::menu_show
|
2013-05-16 21:44:58 +02:00 |
|
Maxime Coste
|
56ab33c9d6
|
support specifying colors with RGB components
|
2013-05-13 14:25:05 +02:00 |
|
Maxime Coste
|
ca69981cc6
|
Ncurses: display status line in terminal title as well
|
2013-04-18 20:22:19 +02:00 |
|
Maxime Coste
|
e4d87ee1f1
|
hide ncurses.h include in ncurses.cc
|
2013-04-12 01:28:22 +02:00 |
|
Maxime Coste
|
270e950cf1
|
sort includes directives
|
2013-04-09 20:05:40 +02:00 |
|
Maxime Coste
|
5adee4a6a7
|
rename assert to kak_assert to avoid collisions
|
2013-04-09 20:04:11 +02:00 |
|
Maxime Coste
|
f540566b1b
|
UserInterface: status line messages are now DisplayLines
This add color support for the status line
|
2013-04-04 18:50:00 +02:00 |
|
Maxime Coste
|
1822b81d58
|
pass a color pair when displaying an information window
|
2013-04-04 14:04:38 +02:00 |
|
Maxime Coste
|
b58f614f40
|
Pass a fg and bg color when displaying a menu
|
2013-04-04 14:04:38 +02:00 |
|
Maxime Coste
|
01968cb96e
|
String: inherit from std::string rather than using it as a backend
|
2013-03-29 19:35:48 +01:00 |
|
Maxime Coste
|
07a2c2944f
|
NCurses: draw a scroll bar
|
2013-03-20 19:11:58 +01:00 |
|
Maxime Coste
|
17b2d8c052
|
NCurses: hand coded menu implementation
|
2013-03-14 19:19:33 +01:00 |
|
Maxime Coste
|
2440a7e82e
|
NCurses: hook redraw on c-l
|
2013-03-12 18:57:12 +01:00 |
|
Maxime Coste
|
17b861d78e
|
NCurses: handle empty items in menu_show
|
2013-03-11 14:20:28 +01:00 |
|
Maxime Coste
|
cfafe203e2
|
NCurses: fix redrawing when info or menu is hidden
|
2013-03-08 18:42:43 +01:00 |
|
Maxime Coste
|
f677d4ba32
|
Use a ColorPair in DisplayAtoms instead of separate fg/bg colors
|
2013-03-06 20:28:02 +01:00 |
|
Maxime Coste
|
594ee65949
|
do not redraw the whole screen each time
|
2013-03-06 19:07:10 +01:00 |
|
Maxime Coste
|
a10bfed9e5
|
ncurses: fix unicode handling in status line
|
2013-03-06 19:03:58 +01:00 |
|
Maxime Coste
|
3e7344fb14
|
remove commented line in ncurses.cc
|
2013-03-05 19:35:40 +01:00 |
|
Maxime Coste
|
b68cc3cd3c
|
NCurses: fix unneeded last line when displaying info box
|
2013-02-26 18:53:29 +01:00 |
|
Maxime Coste
|
9b3bc8523b
|
Use ncursesw in order to get correct utf8 handling
|
2013-02-26 14:05:16 +01:00 |
|
Maxime Coste
|
a453ddaf37
|
Add support for Home/End key in prompts
|
2013-02-19 13:50:27 +01:00 |
|