-
Notifications
You must be signed in to change notification settings - Fork 32
Commits on Oct 29, 2015
-
Console: Ensure
STDIN
is defined before using it.Sometimes, `STDIN` is not defined when trying to start advanced interactions. So we must ensure that `STDIN` is correctly set.
Configuration menu - View commit details
-
Copy full SHA for de466b7 - Browse repository at this point
Copy the full SHA de466b7View commit details -
Console: Add the
setTput
static method.Now we are able to set our own instance of `Tput` class.
Configuration menu - View commit details
-
Copy full SHA for 6e605a7 - Browse repository at this point
Copy the full SHA 6e605a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ed67a2 - Browse repository at this point
Copy the full SHA 7ed67a2View commit details
Commits on Nov 10, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 9d5ac13 - Browse repository at this point
Copy the full SHA 9d5ac13View commit details -
Configuration menu - View commit details
-
Copy full SHA for 001b415 - Browse repository at this point
Copy the full SHA 001b415View commit details -
Configuration menu - View commit details
-
Copy full SHA for 651aab9 - Browse repository at this point
Copy the full SHA 651aab9View commit details -
Window: The constructor must be private.
Since the `Window` class is a singleton, its constructor must be private.
Configuration menu - View commit details
-
Copy full SHA for a134d4e - Browse repository at this point
Copy the full SHA a134d4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c93d576 - Browse repository at this point
Copy the full SHA c93d576View commit details -
Mouse: New constants representing pointer codes.
Instead of using hard-coded number for pointer codes, we introduce constants: * `BUTTON_LEFT`, * `BUTTON_MIDDLE`, * `BUTTON_RIGHT`, * `BUTTON_RELEASE`, * `WHEEL_UP`, * `WHEEL_DOWN`. These codes are the ones used by the terminal.
Configuration menu - View commit details
-
Copy full SHA for bc62391 - Browse repository at this point
Copy the full SHA bc62391View commit details -
Mouse: Untrack when tracking fails.
Instead of silently continue to loop when `stream_select` fails or timed out, i.e. when we no longer have a mouse input, we break the loop and untrack when `stream_select` fails. When it times out, we continue to loop.
Configuration menu - View commit details
-
Copy full SHA for a5bd983 - Browse repository at this point
Copy the full SHA a5bd983View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0419f78 - Browse repository at this point
Copy the full SHA 0419f78View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3082bd3 - Browse repository at this point
Copy the full SHA 3082bd3View commit details -
GetOption: Reset the
$optionValue
all the time.The first argument passed to `getOption` is a reference. Its value was not reset each time. Now this is fixed.
Configuration menu - View commit details
-
Copy full SHA for a0e4bc1 - Browse repository at this point
Copy the full SHA a0e4bc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00033a1 - Browse repository at this point
Copy the full SHA 00033a1View commit details -
Readline: Use
Console::getInput
.The readline was previously based on `STDIN`. Now it is based on `Console::getInput` as every other classes in the `Hoa\Console`.
Configuration menu - View commit details
-
Copy full SHA for 73d8c5c - Browse repository at this point
Copy the full SHA 73d8c5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6eb8f33 - Browse repository at this point
Copy the full SHA 6eb8f33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31a08c9 - Browse repository at this point
Copy the full SHA 31a08c9View commit details -
Terminfo: Add the
xterm-256color
database.1. We need it to test advanced part of the API, 2. If a system is missing it, we can fallback to this database.
Configuration menu - View commit details
-
Copy full SHA for 1d795bb - Browse repository at this point
Copy the full SHA 1d795bbView commit details -
Test: Use
beforeTestMethod
instead ofsetUp
.As @jubianchi noticed, `setUp` runs in the parent process, no inside all child processes. This is what we expect.
Configuration menu - View commit details
-
Copy full SHA for 073fdbb - Browse repository at this point
Copy the full SHA 073fdbbView commit details -
Configuration menu - View commit details
-
Copy full SHA for e01a6bc - Browse repository at this point
Copy the full SHA e01a6bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for af6e9ea - Browse repository at this point
Copy the full SHA af6e9eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e9a4cf - Browse repository at this point
Copy the full SHA 0e9a4cfView commit details