Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-10-17 | NPM release - 0.1.0 | Florrie | |
2019-10-17 | Make ScrollBar an independent and published class | Florrie | |
It's no longer strictly connected to a ListScrollForm, and is published, so it's much easier to use as an element from the tui-lib API in any project now. | |||
2019-10-17 | Add .editorconfig | Florrie | |
2019-10-17 | Update package-lock.json | Florrie | |
Oops. | |||
2019-10-17 | Update package.json for new npm release | Florrie | |
2019-10-17 | Make tui-app work with draw dependencies | Florrie | |
...instead of using the old loop system. | |||
2019-10-15 | Update package.json for new npm release | Florrie | |
(yes, I know I'm not keeping up with semantic versioning, sorry!) | |||
2019-10-14 | Don't crash when getting scrollSize | Florrie | |
2019-09-23 | Make textAttributes a draw dependency | Florrie | |
2019-09-20 | Suppot meta up/down/left/right keys | Florrie | |
2019-09-18 | Make label text a draw dependency | Florrie | |
This makes the screen be automatically redrawn whenever a label's text is updated. | |||
2019-09-16 | WIP better rendering | Florrie | |
I think this'll take some serious attention before it even works and saves any performance. | |||
2019-09-16 | Add basic Element class | Florrie | |
2019-09-15 | Keyboard functions for Home, Insert, Delete, End | Florrie | |
2019-09-15 | Add lastInput function to forms | Florrie | |
2019-09-15 | Remove dead todo comment | Florrie | |
2019-09-15 | (!!) Only render when draw-dependency props change | Florrie | |
This is a very large change and probably breaks most applications not built to work with it. (Obviously, I'm not really being that responsible with this sort of thing.) I've tested with mtui and it works fine, but some elements may need tweaks before being 100% adjusted to the new scheduled-render system we're using with this commit. Also, any elements which have custom draw behavior will likely need updating so that they appropriately schedule renders. | |||
2019-08-25 | Add new property clickThrough to all elements | Florrie | |
2019-08-25 | Add key detection functions for control+arrow keys | Florrie | |
2019-08-22 | Add setBackground ansi utility function | Florrie | |
2019-08-22 | Add trimToColumns ansi utility function | Florrie | |
2019-07-18 | Don't explode when no element is selected! | Florrie | |
2019-07-18 | Mouse drag support; pass detailed data to handlers | Florrie | |
...for mouse events. Contains cursor position, modifier keys pressed, etc. | |||
2019-07-07 | Emit 'resize' as well in TelnetInterfacer | Florrie | |
Same as 'screenSizeUpdated'. | |||
2019-05-12 | Automatically show/hide ListScrollForm scrollbar | Florrie | |
...depending on whether there is enough content that it cannot all be displayed in the form's space or not. | |||
2019-05-12 | Adjust the way the scrollbar handle is drawn | Florrie | |
Specifically, it now clearly represents how much of the scrollable form is visible and not visible at the moment. It also will never touch the top or bottom if it's possible to scroll further in the correspodning direction. | |||
2019-04-02 | Merge branch 'master' of ssh://ed1.club/home/florrie/git/tui-lib | Florrie | |
2019-04-02 | Avoid crashing when scrolled past end of form | Florrie | |
Usually this doesn't happen, but it may occur if the items of the ListScrollForm are regenerated (to a lesser length) before updating scrollItems. | |||
2019-03-16 | Make tui-app boilerplate support ^Z/suspend | Florrie | |
2019-02-05 | App boilerplate code | Florrie | |
2019-01-25 | Expose xterm alternate screen | Florrie | |
2018-12-22 | Bump version | Florrie | |
2018-12-22 | Export WrapLabel | Florrie | |
"Oops" | |||
2018-12-15 | Fix mistake in Form.addInput | Florrie | |
TL;DR afterIndex was not being set correctly. | |||
2018-12-15 | Optimize the h*ck out of ListScrollForm | Florrie | |
2018-12-15 | Optimize getScrollPositionOfElementAtEndOfView | Florrie | |
This actually drastically improves the performance of mtui when opening very, very large playlists. | |||
2018-12-14 | Add options to not call fixLayout automatically | Florrie | |
2018-12-08 | Stop tracking mouse on cleanCursor() | Florrie | |
This way when a program is exited, the mouse will go back to normal (so you can scroll the terminal log, etc). | |||
2018-12-08 | Set VT200 mouse instead of X10 mouse | Florrie | |
Reference: http://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h2-Mouse-Tracking For some reason this works better with tmux than X10 mouse (and it still works in ordinary, non-tmux windows). | |||
2018-12-08 | Mouse support | Florrie | |
Not exactly the most elegant implementation, but it definitely works and isn't really difficult to code around! | |||
2018-12-05 | Bump version for npm publish :shrug: | Florrie | |
2018-12-05 | Use measureColumns in the appropriate places | Florrie | |
TL;DR If you want to take into account the width of text, use measureColumns instead of just checking the length of the text! | |||
2018-12-05 | Add utility measureColumns function to ansi.js | Florrie | |
This way layouts can properly support wide characters. | |||
2018-12-05 | Wide character support in ANSI compressor | Florrie | |
2018-12-04 | Optimize - don't do attributes.slice() as often | Florrie | |
If it makes sense to reuse an attributes array, do that. | |||
2018-12-04 | Un-broken optimization | Florrie | |
(reverted broken stuff; still a little optimization, i.e. cache cursorIndex) | |||
2018-12-04 | Broken optimization | Florrie | |
2018-11-23 | Fix (un)select calls re: consecutive root.select() | Florrie | |
See code comments for explanation. | |||
2018-09-15 | Don't bubble cancel in Dialog | Florrie | |
2018-09-15 | Fix keyPressed call order | Florrie | |
Before: <top>, <bottom>, <second to bottom>, <third to bottom>... Now: <top>, <second to top>, <third to top>, <fourth to top>... |