aboutsummaryrefslogtreecommitdiff
path: root/ui-curses.h
AgeCommit message (Collapse)AuthorFilesLines
2015-11-08Delete now obsolete syntax.hMarc André Tanner1-1/+0
2015-10-14ui: refactor syntax style definitionsMarc André Tanner1-20/+1
Styles can now be specified as strings which will make them easier to specify from outside the editor. The following style attributes can be given in a comma separated list: bold italics underlined fore:color back:color where color is either a hex value of the form #aabbcc or one of the predefined colors: black red green yellow blue magenta cyan white
2015-10-05vis: rework input handling using libtermkeyMarc André Tanner1-15/+0
Key bindings are now specified as symbolic key strings, this will eventually allow run time configurable key mappings. This introduces a bulid time dependency on libtermkey which can be found at: http://www.leonerd.org.uk/code/libtermkey/
2015-09-06ui: differentiate between Ctrl-J and enterMarc André Tanner1-1/+0
Thus enter no longer creates new cursors, use CTRL-j instead. Closes #69
2015-07-21ui: further separate curses related user interface codeMarc André Tanner1-1/+21
By now ui-curses.[hc] are the only files dealing directly with curses related functions. Integration of a proper mainloop is still pending.
2015-07-09ui: abstract curses related special keys awayMarc André Tanner1-0/+17
2015-04-03Preliminary user interface separationMarc André Tanner1-0/+9
In theory only ui-curses.[hc] should depend on curses, however in practice keyboard input is still handled in vis.c. Furthermore the syntax definitions as well as keyboard bindings and selection code in window.c still depends on some curses constants. There is also a slight regression in that the window status bar does not show the current mode name. This and related global state should be eliminated in the future.