-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
restore default cursor on soft/hard resets
- Loading branch information
Showing
5 changed files
with
31 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,17 @@ | ||
package com.jediterm.terminal; | ||
|
||
/** Current cursor shape as described by https://vt100.net/docs/vt510-rm/DECSCUSR.html. */ | ||
/** | ||
* Cursor shape as described by <a href="https://vt100.net/docs/vt510-rm/DECSCUSR.html">DECSCUSR</a>. | ||
*/ | ||
public enum CursorShape { | ||
BLINK_BLOCK, | ||
STEADY_BLOCK, | ||
BLINK_UNDERLINE, | ||
STEADY_UNDERLINE, | ||
BLINK_VERTICAL_BAR, | ||
STEADY_VERTICAL_BAR | ||
BLINK_BLOCK, | ||
STEADY_BLOCK, | ||
BLINK_UNDERLINE, | ||
STEADY_UNDERLINE, | ||
BLINK_VERTICAL_BAR, | ||
STEADY_VERTICAL_BAR; | ||
|
||
public boolean isBlinking() { | ||
return this == BLINK_BLOCK || this == BLINK_UNDERLINE || this == BLINK_VERTICAL_BAR; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters