Comments (7)
There was a such cursor in the original project (Console2).
Authors have commented out this code in sources.
I don't know the reason. I will see.
from console.
Ok, many thanks!
And even more thanks for the revived project!
On Wed, Oct 30, 2013 at 6:24 PM, Christophe Bucher <[email protected]
wrote:
There was a such cursor in the original project (Console2).
Authors have commented out this code in sources.
I don't know the reason. I will see.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/47#issuecomment-27407063
.
from console.
from console.
The new "Console" cursor works nicely for my shell, and is correctly resized.
If I use cmd.exe as a shell, though, the cursor won't resize when I press Insert.
In both cases, the cursor color that I configure in the Tabs pane is ignored for this type of cursor (maybe this is on purpose?)
from console.
the size is retrieved by GetConsoleCursorInfo
switching between overwrite mode and insert mode doesn't modify this value
and I find no way to know in which mode the current console is
(GetConsoleMode returns the registry settings and not the current state of a console)
color is forced to white (as in Windows console, the cursor uses XOR painting)
XOR with other colors produces glitches, visual result is ugly
from console.
On Thu, Oct 31, 2013 at 6:09 PM, Christophe Bucher <[email protected]
wrote:
the size is retrieved by GetConsoleCursorInfo
switching between overwrite mode and insert mode doesn't modify this value
and I find no way to know in which mode the current console isMy shell uses SetConsoleCursorInfo to set the cursor size when Insert is
pressed. And the cursor resizing works and looks fine (in both the standard
terminal and Console).
With cmd.exe inside Console, the cursor resizing doesn't work; this
probably means that cmd.exe uses some other way of changing the cursor (?!)
color is forced to white (as in Windows console, the cursor uses XOR
painting)
XOR with other colors produces glitches, visual result is uglyMakes sense.
from console.
conhost intercepts INS key press ; and changes an internal state "InsertionMode"
conhost draws the cursor depending of this internal state
But the state is wrong : if we call doskey /overstrike
or doskey /insert
the edition mode changes but the cursor stays the same.
I can not do better, I leave the code as is.
from console.
Related Issues (20)
- Custom shell not remembered when restoring session
- ConsoleZ crash while starting if file containing current desktop wallpaper is moved HOT 3
- Make it possible to deactivate font size adjustment on Ctrl+Mouse/Touchpad scroll
- feature: increment inside border limit HOT 2
- Hotkey customize can not use Alt+c HOT 2
- select characters by mouse key click HOT 1
- How to modify encoding of consoleZ.... HOT 2
- Hindi text Error (bug)
- Reuse or Attach Console when using ASG Remote Desktop Context HOT 1
- Unable to select with mouse HOT 5
- Importing settings to a new installation HOT 4
- How to open a tab in the exist windiow via DOS command? HOT 1
- ConsoleZ.sln uses v142 toolset but is in VS2017 format? HOT 1
- how do you change the prompt!? HOT 1
- consolez doesn't display Chinese characters with "enable typographic ligature" on
- Tabs are lost if closed by Windows shutdown
- Windows XP Support HOT 1
- Windows 11 Terminal in Background HOT 2
- How to restore session/workspace HOT 1
- Quick edit mode and a couple of things HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from console.