Maxime Coste
|
a453ddaf37
|
Add support for Home/End key in prompts
|
2013-02-19 13:50:27 +01:00 |
|
Maxime Coste
|
3171ab0c52
|
NCurses: fix multiline info
|
2013-01-29 14:24:42 +01:00 |
|
Maxime Coste
|
4497767492
|
NCursesUI::get_key(): move getch_iterator as a local type
|
2013-01-22 14:29:16 +01:00 |
|
Maxime Coste
|
f1b6108367
|
NCurses: use default background for '~'
|
2013-01-17 19:49:48 +01:00 |
|
Maxime Coste
|
bdc47ddef8
|
NCursesUI: redraw becomes a member
|
2013-01-15 14:16:45 +01:00 |
|
Maxime Coste
|
3d00f398fe
|
NCurses: redraw after menu/info window is modified
|
2013-01-14 18:51:07 +01:00 |
|
Maxime Coste
|
310ec1f791
|
move input watching responsibility into UserInterface implementations
|
2013-01-14 18:50:17 +01:00 |
|
Maxime Coste
|
df14427210
|
NCurses: info window tries to avoid the menu one
|
2012-12-15 19:11:04 +01:00 |
|
Maxime Coste
|
fd09e8a2de
|
NCurses: some code refactoring
|
2012-12-15 18:32:56 +01:00 |
|
Maxime Coste
|
9236c87842
|
UserInterface: add info box support
using the info command, you can display an arbitrary string
in a tooltip box.
|
2012-12-14 19:04:34 +01:00 |
|
Maxime Coste
|
7d6a48f43a
|
ncurses.cc: handle ascii del as backspace
|
2012-12-09 14:31:19 +01:00 |
|
Maxime Coste
|
8724a12dc1
|
NCurses: do not resize directly in signal handler, malloc may not be working there
|
2012-12-03 18:50:44 +01:00 |
|
Maxime Coste
|
3a4859ecba
|
ncurses: avoid refering to dead NCursesUI in signal handler
|
2012-11-27 18:54:27 +01:00 |
|
Maxime Coste
|
ecd556db59
|
NCurses: use Default bg color for status line
|
2012-11-23 13:46:39 +01:00 |
|
Maxime Coste
|
d331856fb3
|
refactor/cleanup NCursesUI::menu_show
|
2012-11-21 19:01:13 +01:00 |
|
Maxime Coste
|
0b14f387d4
|
fix error handling in ncurses resize code
|
2012-11-20 18:55:44 +01:00 |
|
Maxime Coste
|
68cc07022c
|
NCurses: catch SIGINT and send a C-c instead
|
2012-11-08 14:04:41 +01:00 |
|
Maxime Coste
|
254d43856d
|
NCurses: refactor status line handling, and disambiguate status line from mode line
|
2012-10-29 19:01:57 +01:00 |
|
Maxime Coste
|
ba244a70a3
|
NCurses: fix long lines handling
|
2012-10-28 11:00:23 +01:00 |
|
Maxime Coste
|
d9729cc29e
|
Handle all available input before redrawing
|
2012-10-28 09:26:54 +01:00 |
|
Maxime Coste
|
b24a80a3ec
|
NCurses::draw: maintain current column without using ncurses
|
2012-10-27 15:48:08 +02:00 |
|
Maxime Coste
|
b199cfd644
|
NCursesUI: force input handling reexecution when resizing
|
2012-10-27 15:02:17 +02:00 |
|
Maxime Coste
|
24b43f91c8
|
NCurses: rework terminal resize handling
|
2012-10-27 14:18:52 +02:00 |
|
Maxime Coste
|
a0cca31dc1
|
make UserInterface unaware of Window, only of DisplayBuffer
|
2012-10-20 20:15:20 +02:00 |
|
Maxime Coste
|
abf514f305
|
avoid utf8 errors with invalid keys, like ncurse KEY_RESIZE
|
2012-10-18 19:56:57 +02:00 |
|
Maxime Coste
|
dfafcdb6e6
|
utf8::codepoint: configurable invalid byte policy
|
2012-10-13 19:05:14 +02:00 |
|
Maxime Coste
|
0ce6bd9bf5
|
use ByteCount instead of CharCount when we are really counting bytes
(that is most of the time when we are not concerned with displaying)
|
2012-10-11 00:41:48 +02:00 |
|
Maxime Coste
|
7a8366da2b
|
add a unicode.hh header for Codepoint related functions, s/utf8::Codepoint/Codepoint/
|
2012-10-09 19:15:05 +02:00 |
|
Maxime Coste
|
c0db3b81be
|
NCursesUI::get_key returns the codepoint
|
2012-10-09 14:30:35 +02:00 |
|
Maxime Coste
|
c7272e427d
|
get rid of Character
|
2012-10-08 19:33:53 +02:00 |
|
Maxime Coste
|
7e046e3f0b
|
utf8 awareness in editor, highlighters and ncurses
|
2012-10-08 14:27:43 +02:00 |
|
Maxime Coste
|
5b6cb500fc
|
Menus can be placed anywhere on the screen, and takes a style parameter
This paves the way for insert mode completion menu using the current
prompt menu system.
|
2012-09-30 15:18:37 +02:00 |
|
Maxime Coste
|
a312ce6dc2
|
extract Client virtual methods to a UserInterface class
|
2012-09-24 19:24:27 +02:00 |
|
Maxime Coste
|
81eae79154
|
ncurses: fix displaying of lines longer than screen
|
2012-09-17 21:38:51 +02:00 |
|
Maxime Coste
|
eac68f09a4
|
NCursesClient::show_menu: stop displaying counts in front of items
|
2012-09-11 14:30:32 +02:00 |
|
Maxime Coste
|
859e907396
|
fix NCursesClient::menu_select for one past last item
|
2012-09-11 14:28:54 +02:00 |
|
Maxime Coste
|
ee4c6b04a6
|
Support Shift-Tab in prompt mode to go back in completions
|
2012-09-11 14:27:21 +02:00 |
|
Maxime Coste
|
46565723b1
|
Add support for page up and page down
|
2012-09-07 21:09:23 +02:00 |
|
Maxime Coste
|
499bb77491
|
Cleanup Key handling, use symbolic names for function keys
|
2012-09-07 20:22:19 +02:00 |
|
Maxime Coste
|
16e1c2daf9
|
simplify menu api
|
2012-09-05 19:02:06 +02:00 |
|
Maxime Coste
|
5c4df507c4
|
ncurses: colorize the menu
|
2012-09-05 00:49:59 +02:00 |
|
Maxime Coste
|
3f64c36654
|
fix NCursesClient::show_menu with big menu entries
|
2012-09-05 00:37:09 +02:00 |
|
Maxime Coste
|
57b89099ec
|
Client::MenuMode wrap through options with j/k Ctrl-n/Ctrl-p and tab
|
2012-09-04 00:02:50 +02:00 |
|
Maxime Coste
|
c61f9cbe6b
|
Add MenuCommand::SelectNone and use it when tab completions goes back to original string
|
2012-09-03 19:34:10 +02:00 |
|
Maxime Coste
|
c2a4f68899
|
NCurses: Fix menu display
|
2012-09-03 19:20:41 +02:00 |
|
Maxime Coste
|
b08d8719e6
|
move input handling, including menu and prompt, to the Client class
|
2012-09-03 14:22:02 +02:00 |
|
Maxime Coste
|
96a50e9b7d
|
NCurses: use menu for tab completion
|
2012-08-31 14:14:16 +02:00 |
|
Maxime Coste
|
51e80558d9
|
Change client menu api to give more control to the caller
|
2012-08-30 21:53:22 +02:00 |
|
Maxime Coste
|
1ca502d23d
|
More useable menu implementation on ncurses
|
2012-08-30 21:14:28 +02:00 |
|
Maxime Coste
|
d5dc5dff7f
|
ncurses: refresh at end of draw_window
|
2012-08-28 22:31:06 +02:00 |
|