Commit Graph

29 Commits

Author SHA1 Message Date
Bryan Ashby 63c2ffcffa
FIX: Neither Backspace or Delete work in mTCP Telnet #412
* Add CTRL-D as a default additional backspace key
 * Kludge 'delete' treated the same as 'backspace' in EditTextView if at the EOL
2022-04-08 15:19:00 -06:00
Bryan Ashby 3aa23db306 initDefaultWidht() for various views 2018-06-23 22:23:22 -06:00
Bryan Ashby 1d8be6b014 Pardon the noise. More tab to space conversion! 2018-06-22 21:26:46 -06:00
Bryan Ashby e9787cee3e ENiGMA 1/2 WILL USE SPACES FROM THIS POINT ON VS TABS
* Really just to make GitHub formatting happy. Arg.
2018-06-21 23:15:04 -06:00
Bryan Ashby ac1433e84b * Code cleanup and eslint since -- remove unused variables, clean up RegExs, so on... 2018-01-15 12:22:11 -07:00
Bryan Ashby 383b3b449d * Fix key press event for EditTextView
* Fix MCI draw issue for TextView
* Missing bbs.js MCI init
2016-08-10 23:35:17 -06:00
Bryan Ashby 0aa75c17c1 Style + import lodash 2016-07-25 09:30:49 -06:00
Robert Mooney 9ab4adc05f Handle empty text masks.
This allows themes to prevent text from being sent during password
entry. To enable, edit theme.hjson and set $.customization.defaults
.general.passwordChar to "". e.g.,

{
  ...
  customization: {
    defaults: {
      general: {
        passwordChar: ""
      }
    }
    ...
  }
}
2016-07-25 02:02:37 -07:00
Bryan Ashby c1469a1f9c * isSpecialKeyMapped() renamed to isKeyMapped()
* Functional HorizontalMenuView
* Minor updates
2015-07-01 20:18:34 -06:00
Bryan Ashby 541be2d65a * Fix TextEditView when 'text' set by default
* Fix TextEditView row vs col
* Start skeleton on HorizontalMenuView
2015-06-28 22:31:12 -06:00
Bryan Ashby 8a17ca694e * Most everything converted to new 'key press' system. Still WIP, some cleanup & probably a few keys to add for various BBS style terminals 2015-06-05 16:20:26 -06:00
Bryan Ashby 5a6b283923 * Fix backspace in edit views
* Some notes
2015-05-27 22:53:21 -06:00
Bryan Ashby eaa4feeebd * Rename position x/y stuff to row/col. X/Y were backwards anyway :) 2015-05-18 11:31:35 -06:00
Bryan Ashby 9ac2e9af6e * WIP on MaskEditTextView 2015-05-15 17:17:13 -06:00
Bryan Ashby a96af34a20 * Lots of code cleanup
* New standard MCI codes for labels
* WIP MaskEditTextView
* Extra styles for EditTextView
2015-05-14 23:01:00 -06:00
Bryan Ashby 3f29e3dba4 * Start of work on re-write of SGR stuff related to MCI codes 2015-04-29 15:38:20 -06:00
Bryan Ashby cb5fc13da5 * Merged changes 2015-04-27 20:23:21 -06:00
Bryan Ashby 75bb9e91e4 * Some work on cursor hiding while redrawing. WIP. 2015-04-27 20:19:17 -06:00
Bryan Ashby 028c5be418 + ToggleMenuView
* Start of hotkeys for menus
* General menu cleanup & rework
2015-04-27 16:04:41 -06:00
Bryan Ashby 7a643150e7 * Fixed double extra view redraws
* Redraw views when all of them are ready @ MCI init
* Moved a lot of properties of views to menu.json/prompts
* Allow scrolling editor for EditTextView
* New @config:path.to.property for menu.json view properties/etc.
2015-04-26 20:46:16 -06:00
Bryan Ashby bac2f63c1a * Tons of work with menu/prompts refactoring -- more to come soon
* More work with menu/prompt accets
2015-04-19 02:13:13 -06:00
Bryan Ashby b0103cb178 * Experimental enter/leave events for Views 2015-04-11 23:48:41 -06:00
Bryan Ashby 2bac8e006e - Remove inputType from previous check in. Will replace with MaskEditTextView stuff
* Cleanup self.options in Views. Just use self.XXXXXX and pass in options to configure
* View's take one param for ctor: options. Including options.client
* Experimental / WIP cursor show/hide in Views
2015-04-08 22:54:13 -06:00
Bryan Ashby 6d84018ef5 * Some WIP inputType 2015-04-07 23:15:34 -06:00
Bryan Ashby 6c841105ab + MCI support for focusArgs, e.g. 'focusTextStyle'
+ TextView initial support for fillChar and justify
+ Add color support to string_util.js::pad()
* Better color handling in Views
2014-11-03 16:49:15 -07:00
NuSkooler 46875ccddd * User stuff converted to use Async.js. More to come 2014-10-25 21:35:42 -06:00
NuSkooler 668fdd9166 * Better view inheritance. Experimental ButtonView. User stuff 2014-10-23 22:18:38 -06:00
Bryan 8cd062be72 * Notes but ButtonView skeleton 2014-10-23 16:40:52 -06:00
NuSkooler 381ded17a6 * Rewrite of Views functional. WIP more to come 2014-10-22 23:41:00 -06:00